Skip to content

Commit

Permalink
Fix min, max and sum_squares computations in low order moments
Browse files Browse the repository at this point in the history
  • Loading branch information
Vika-F committed Jan 17, 2025
1 parent c5ccb9e commit 1fa98a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ Status computeMinMaxAndSumOfSquared(const size_t nFeatures, const size_t nVector
const size_t startRows = iBlock * numRowsInBlock;
const size_t chunkRows = (iBlock < (nBlocks - 1)) ? numRowsInBlock : numRowsInLastBlock;

for (size_t i = startRows; i < chunkRows; i++)
for (size_t i = startRows; i < startRows + chunkRows; i++)
{
PRAGMA_IVDEP
PRAGMA_VECTOR_ALWAYS
Expand Down

0 comments on commit 1fa98a7

Please sign in to comment.