LUCENE-8491: Adjust maxRadius to prevent constructing circles that are too big

This commit is contained in:
iverase 2018-09-07 14:48:52 +02:00
parent 66c671ea80
commit 6fbcda60a2
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ public class Geo3dShapeWGS84ModelRectRelationTest extends ShapeRectRelationTestC
Geo3dSpatialContextFactory factory = new Geo3dSpatialContextFactory();
factory.planetModel = planetModel;
this.ctx = factory.newSpatialContext();
this.maxRadius = 178;
this.maxRadius = 175;
((Geo3dShapeFactory)ctx.getShapeFactory()).setCircleAccuracy(1e-12);
}