SOLR-2063: fix incorrect assert

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1038798 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2010-11-24 20:13:22 +00:00
parent a4ecf7b010
commit 7b01ebaa11
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ public class Grouping {
if (numDocs >= docsToGather) break;
}
assert numDocs <= docCount; // make sure we didn't gather too many
assert numDocs <= docsToGather; // make sure we didn't gather too many
int[] ids = new int[numDocs];
float[] scores = needScores ? new float[numDocs] : null;