Also this one

This commit is contained in:
Kawrakow
2026-02-25 16:48:43 +00:00
parent 8feb02bde7
commit 785da428f7

View File

@@ -1916,7 +1916,7 @@ static float make_qkx1_quants(int n, int nmax, const float * restrict x, uint8_t
if (x[i] < min) min = x[i];
if (x[i] > max) max = x[i];
}
if (max == min) {
if (max - min < 1e-10f) {
for (int i = 0; i < n; ++i) L[i] = 0;
*the_min = 0;
return 0.f;