Type refactoring

This commit is contained in:
Ed Addario 2025-10-28 23:06:29 +00:00
parent b5068df804
commit 92a42bac3d
No known key found for this signature in database
GPG Key ID: E7875815A3230993
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ static std::vector<float> compute_tensor_averages(const Stats & tstats) {
} else {
// Mean
for (size_t m = 0; m < n_mat; ++m) {
const float c = (float) tstats.counts[m];
const float c = (float)tstats.counts[m];
const size_t off = m * row;
if (c <= 0.0f) {
vec.insert(vec.end(), row, 0.0f); // zero-fill rows for experts with zero count to preserve shape