Skip to content

Commit 3a7595e

Browse files
committed
#2 parity with js: mapbox/delaunator@b1f360c fix commented block
1 parent 4f072c2 commit 3a7595e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/delaunator.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -450,9 +450,9 @@ std::size_t Delaunator::legalize(std::size_t a) {
450450
const std::size_t pl = triangles[al];
451451
const std::size_t p1 = triangles[bl];
452452

453-
// if (b == INVALID_INDEX) {
454-
// return ar;
455-
// }
453+
if (b == INVALID_INDEX) {
454+
return ar;
455+
}
456456

457457
const bool illegal = in_circle(
458458
coords[2 * p0],

0 commit comments

Comments
 (0)