Skip to content

Commit 0a028bb

Browse files
committed
fix typo
1 parent a62e73c commit 0a028bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spatial/include/spatial/core/geometry/geometry.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ inline Geometry Polygon::CreateFromBox(ArenaAllocator &alloc, double minx, doubl
797797
auto &ring = Polygon::Part(polygon, 0);
798798
LineString::Resize(ring, alloc, 5);
799799
LineString::SetVertex(ring, 0, {minx, miny});
800-
LineString::SetVertex(ring, 1, {miny, maxy});
800+
LineString::SetVertex(ring, 1, {minx, maxy});
801801
LineString::SetVertex(ring, 2, {maxx, maxy});
802802
LineString::SetVertex(ring, 3, {maxx, miny});
803803
LineString::SetVertex(ring, 4, {minx, miny});

0 commit comments

Comments
 (0)