imatrix : avoid returning from void function save_imatrix
This commit is contained in:
parent
ba6f6be6ce
commit
1a9454a3d2
|
|
@ -348,7 +348,8 @@ void IMatrixCollector::save_imatrix(int32_t n_chunk) const {
|
||||||
|
|
||||||
// TODO: use the new format by default also for .imatrix
|
// TODO: use the new format by default also for .imatrix
|
||||||
if (!str_has_suffix(fname, ".gguf")) {
|
if (!str_has_suffix(fname, ".gguf")) {
|
||||||
return this->save_imatrix_legacy(n_chunk);
|
this->save_imatrix_legacy(n_chunk);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (n_chunk > 0) {
|
if (n_chunk > 0) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue