Repository: lucene-solr
Updated Branches:
refs/heads/branch_7x 1ec0ce7d7 -> 5d0e58fd7
LUCENE-7906: Logic fix for crosses condition
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/5d0e58fd
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/5d0e58fd
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/5d0e58fd
Branch: refs/heads/branch_7x
Commit: 5d0e58fd7ac7f9cbe9f520f848b7fef847869130
Parents: 1ec0ce7
Author: Karl Wright <DaddyWri@gmail.com>
Authored: Wed Jul 26 10:35:35 2017 -0400
Committer: Karl Wright <DaddyWri@gmail.com>
Committed: Wed Jul 26 10:38:20 2017 -0400
----------------------------------------------------------------------
.../java/org/apache/lucene/spatial3d/geom/GeoComplexPolygon.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/5d0e58fd/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoComplexPolygon.java
----------------------------------------------------------------------
diff --git a/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoComplexPolygon.java
b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoComplexPolygon.java
index 5e91fa7..7f8f649 100644
--- a/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoComplexPolygon.java
+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoComplexPolygon.java
@@ -492,7 +492,7 @@ class GeoComplexPolygon extends GeoBasePolygon {
if (left != null && left.traverse(edgeIterator, minValue, maxValue) == false)
{
return false;
}
- if (right != null && minValue >= low && right.traverse(edgeIterator,
minValue, maxValue) == false) {
+ if (right != null && maxValue >= low && right.traverse(edgeIterator,
minValue, maxValue) == false) {
return false;
}
}
|