Commit efa5b10
committed
BUG: Fix implementation of _is_closed_polygon
It's a bad idea to use floating point equality to check if two points
are equal. While not a huge difference, especially in the case of
contour analysis, this was causing testing issues downstream. In one
case this yielded different results for the same test on different OSes.1 parent d2f25c9 commit efa5b10
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
629 | 629 | | |
630 | 630 | | |
631 | 631 | | |
632 | | - | |
| 632 | + | |
633 | 633 | | |
634 | 634 | | |
635 | 635 | | |
| |||
0 commit comments