Skip to content

Commit

Permalink
Update constructive.py
Browse files Browse the repository at this point in the history
Co-authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
  • Loading branch information
martinfleis and jorisvandenbossche committed Jan 26, 2024
1 parent b9a6430 commit 69020db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shapely/constructive.py
Expand Up @@ -990,7 +990,7 @@ def voronoi_polygons(
>>> voronoi_polygons(points, ordered=True)
<GEOMETRYCOLLECTION (POLYGON ((0 0, 0 4, 3 4, 3 0, 0 0)), POLYGON ((6 4, 6 0...>
"""
if ordered and lib.geos_version < (3, 12, 0):
if ordered is not False and lib.geos_version < (3, 12, 0):
raise UnsupportedGEOSVersionError(
"Ordered Voronoi polygons require GEOS >= 3.12.0, "
f"found {lib.geos_version_string}"
Expand Down

0 comments on commit 69020db

Please sign in to comment.