You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by iv...@apache.org on 2018/04/10 08:03:44 UTC

lucene-solr:master: LUCENE-8247: Increase the circle precision for test Geo3dShapeWGS84ModelRectRelationTest

Repository: lucene-solr
Updated Branches:
  refs/heads/master a70b257c8 -> d45211d53


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/d45211d5
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/d45211d5
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/d45211d5

Branch: refs/heads/master
Commit: d45211d5344854ba68f9c5c344f6826aa18c5626
Parents: a70b257
Author: Ignacio Vera <iv...@apache.org>
Authored: Tue Apr 10 10:02:14 2018 +0200
Committer: Ignacio Vera <iv...@apache.org>
Committed: Tue Apr 10 10:02:14 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/d45211d5/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