Trailing whitespace

This commit is contained in:
jukofyork 2024-05-07 18:45:05 +01:00 committed by GitHub
parent cb3d9bad5c
commit 6e05492fa6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -284,7 +284,7 @@ bool IMatrixCollector::load_imatrix(const char * imatrix_file, std::unordered_ma
e.values.resize(nval, 0);
e.counts.resize(nval, 0);
}
std::vector<float> tmp(nval);
in.read((char*)tmp.data(), nval*sizeof(float));
if (in.fail()) {
@ -297,9 +297,9 @@ bool IMatrixCollector::load_imatrix(const char * imatrix_file, std::unordered_ma
for (int i = 0; i < nval; i++) {
e.values[i] += tmp[i];
e.counts[i] += ncall;
}
}
e.ncall += ncall;
}
return true;
}