You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Or by checking if a given argument contains a NaN in the first place if NaN breaks further work. I think having one of these and returning None is preferable to a panic inside the method. At the very least this behavior should be documented.
The text was updated successfully, but these errors were encountered:
There is a panic on the following line when one of the values is NaN:
delaunator-rs/src/lib.rs
Line 434 in 82ddbdb
You can get around this by implementing a default ordering with something like
Or by checking if a given argument contains a NaN in the first place if NaN breaks further work. I think having one of these and returning
None
is preferable to a panic inside the method. At the very least this behavior should be documented.The text was updated successfully, but these errors were encountered: