Closed alcoat closed 2 years ago
What changed in numpy that stopped nans working in inpoly I wonder? I can change inpoly too
Thank you for putting this together. Unfortunately while the tests do technically pass and do not produce fatal errors, when you visualize some of their outputs, it shows that the change to avoid passing nans to inpoly are creating new issues. This does not happen on the main branch.
More generally, I'd like to figure out why inpoly stops working with Python 3.10.
For example visualizing test_irregular_domain.py or test_multiscale.py
Hi, I found a solution to this issue by removing duplicate points in the shoreline ! I will prepare the fix.
The new mesh produced with Python 3.10 !
Excellent work @alcoat. I ran the tests locally with other versions of Python and things have worked out. So I'm okay with this as is.
with numpy=1.23.0 and inpoly=0.2.0, the nodes can't have nan values when calling in_poly2