lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [2/2] lucenenet git commit: fix assert logic
Date Thu, 30 Apr 2015 23:12:41 GMT
fix assert logic


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/27be98ab
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/27be98ab
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/27be98ab

Branch: refs/heads/master
Commit: 27be98ab3c45343bc31761fe25d3845220319580
Parents: 465f7b9
Author: Laimonas Simutis <laimis@gmail.com>
Authored: Thu Apr 30 14:32:54 2015 -0400
Committer: Laimonas Simutis <laimis@gmail.com>
Committed: Thu Apr 30 14:32:54 2015 -0400

----------------------------------------------------------------------
 src/Lucene.Net.Core/Index/SortedSetDocValuesWriter.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/27be98ab/src/Lucene.Net.Core/Index/SortedSetDocValuesWriter.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Index/SortedSetDocValuesWriter.cs b/src/Lucene.Net.Core/Index/SortedSetDocValuesWriter.cs
index 2242790..66ed14f 100644
--- a/src/Lucene.Net.Core/Index/SortedSetDocValuesWriter.cs
+++ b/src/Lucene.Net.Core/Index/SortedSetDocValuesWriter.cs
@@ -200,7 +200,7 @@ namespace Lucene.Net.Index
         {
             AppendingDeltaPackedLongBuffer.Iterator iter = PendingCounts.GetIterator();
 
-            Debug.Assert(maxDoc == Pending.Size(), "MaxDoc: " + maxDoc + ", pending.Size():
" + Pending.Size());
+            Debug.Assert(maxDoc == PendingCounts.Size(), "MaxDoc: " + maxDoc + ", pending.Size():
" + Pending.Size());
 
             for (int i = 0; i < maxDoc; ++i)
             {


Mime
View raw message