From d45211d5344854ba68f9c5c344f6826aa18c5626 Mon Sep 17 00:00:00 2001 From: Ignacio Vera Date: Tue, 10 Apr 2018 10:02:14 +0200 Subject: [PATCH] LUCENE-8247: Increase the circle precision for test Geo3dShapeWGS84ModelRectRelationTest --- .../spatial/spatial4j/Geo3dShapeWGS84ModelRectRelationTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 5a7b4b52f48..94fdde9db84 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