diff --git a/tools/quantize/quantize.cpp b/tools/quantize/quantize.cpp index eb071c945a..5f4a449210 100644 --- a/tools/quantize/quantize.cpp +++ b/tools/quantize/quantize.cpp @@ -410,7 +410,7 @@ static int prepare_imatrix(const std::string & imatrix_file, for (auto st = statistics_data.begin(); st != statistics_data.end();) { auto pos = st->first.find(name); if (pos != std::string::npos) { - st = activations_data.erase(st); + st = statistics_data.erase(st); } else { ++st; }