lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iv...@apache.org
Subject lucene-solr:branch_7x: LUCENE-8247: Increase the circle precision for test Geo3dShapeWGS84ModelRectRelationTest
Date Tue, 10 Apr 2018 08:04:01 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/branch_7x 69c2c61b6 -> 745e0a2ff


LUCENE-8247: Increase the circle precision for test Geo3dShapeWGS84ModelRectRelationTest


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/745e0a2f
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/745e0a2f
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/745e0a2f

Branch: refs/heads/branch_7x
Commit: 745e0a2ff83aa5433a1af7b00608373de3ccd9ef
Parents: 69c2c61
Author: Ignacio Vera <ivera@apache.org>
Authored: Tue Apr 10 10:03:05 2018 +0200
Committer: Ignacio Vera <ivera@apache.org>
Committed: Tue Apr 10 10:03:05 2018 +0200

----------------------------------------------------------------------
 .../spatial/spatial4j/Geo3dShapeWGS84ModelRectRelationTest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/745e0a2f/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeWGS84ModelRectRelationTest.java
----------------------------------------------------------------------
diff --git a/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeWGS84ModelRectRelationTest.java
b/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeWGS84ModelRectRelationTest.java
index 5a7b4b5..94fdde9 100644
--- a/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeWGS84ModelRectRelationTest.java
+++ b/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeWGS84ModelRectRelationTest.java
@@ -39,7 +39,7 @@ public class Geo3dShapeWGS84ModelRectRelationTest extends ShapeRectRelationTestC
     factory.planetModel = planetModel;
     this.ctx = factory.newSpatialContext();
     this.maxRadius = 178;
-    ((Geo3dShapeFactory)ctx.getShapeFactory()).setCircleAccuracy(1e-6);
+    ((Geo3dShapeFactory)ctx.getShapeFactory()).setCircleAccuracy(1e-12);
   }
 
   @Test


Mime
View raw message