mirror of https://github.com/apache/lucene.git
Always generate a polygon that has no self intersections (#12124)
This commit is contained in:
parent
5acca82633
commit
d591c9c37a
|
@ -226,7 +226,7 @@ public abstract class BaseXYShapeTestCase extends BaseSpatialTestCase {
|
|||
while (true) {
|
||||
XYPolygon p = ShapeTestUtil.nextPolygon();
|
||||
try {
|
||||
Tessellator.tessellate(p, random().nextBoolean());
|
||||
Tessellator.tessellate(p, true);
|
||||
return p;
|
||||
} catch (
|
||||
@SuppressWarnings("unused")
|
||||
|
|
Loading…
Reference in New Issue