imatrix : avoid returning from void function save_imatrix

This commit is contained in:
Francis Couture-Harpin
2025-06-18 16:44:41 -04:00
parent ba6f6be6ce
commit 1a9454a3d2

View File

@ -348,7 +348,8 @@ void IMatrixCollector::save_imatrix(int32_t n_chunk) const {
// TODO: use the new format by default also for .imatrix
if (!str_has_suffix(fname, ".gguf")) {
return this->save_imatrix_legacy(n_chunk);
this->save_imatrix_legacy(n_chunk);
return;
}
if (n_chunk > 0) {