stupid mistake

This commit is contained in:
Xavier Léauté 2014-11-10 12:54:48 -08:00
parent 17d32a2561
commit 70468400bf
1 changed files with 2 additions and 2 deletions

View File

@ -165,8 +165,8 @@ public class PooledTopNAlgorithm
} }
final int nAggregators = theAggregators.length; final int nAggregators = theAggregators.length;
final int extra = nAggregators - (nAggregators % 4) - 1; final int extra = nAggregators - nAggregators % 4;
final int ub = (nAggregators / 4) * 4; final int ub = ((nAggregators / 4) * 4) - 1;
while (!cursor.isDone()) { while (!cursor.isDone()) {
final IndexedInts dimValues = dimSelector.getRow(); final IndexedInts dimValues = dimSelector.getRow();