ncall needs summing too
This commit is contained in:
parent
6674e79c71
commit
cb3d9bad5c
1 changed files with 2 additions and 2 deletions
|
@ -297,9 +297,9 @@ bool IMatrixCollector::load_imatrix(const char * imatrix_file, std::unordered_ma
|
||||||
for (int i = 0; i < nval; i++) {
|
for (int i = 0; i < nval; i++) {
|
||||||
e.values[i] += tmp[i];
|
e.values[i] += tmp[i];
|
||||||
e.counts[i] += ncall;
|
e.counts[i] += ncall;
|
||||||
}
|
}
|
||||||
|
e.ncall += ncall;
|
||||||
|
|
||||||
e.ncall = ncall;
|
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue