mirror of https://github.com/apache/lucene.git
LUCENE-8491: Adjust maxRadius to prevent constructing circles that are too big
This commit is contained in:
parent
66c671ea80
commit
6fbcda60a2
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue