You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by sy...@apache.org on 2015/05/01 01:12:41 UTC
[2/2] lucenenet git commit: fix assert logic
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 <la...@gmail.com>
Authored: Thu Apr 30 14:32:54 2015 -0400
Committer: Laimonas Simutis <la...@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)
{