Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

fix silly stack-building test bug in BKD visitor forensics

Mike McCandless38bf7dd83441
diff --git a/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/TestGeo3DPoint.java b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/TestGeo3DPoint.java
index 9ec0e30661f..20302b40864 100644
--- a/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/TestGeo3DPoint.java
+++ b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/TestGeo3DPoint.java
@@ -1248,7 +1248,7 @@ public class TestGeo3DPoint extends LuceneTestCase {
if (firstPhase) {
// Pop stack:
- while (stack.size() > 0 && stack.get(stack.size()-1).contains(cell)) {
+ while (stack.size() > 0 && stack.get(stack.size()-1).contains(cell) == false) {
stack.remove(stack.size()-1);
//System.out.println(" pop");
}