-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Numerical error in HealpixNestedPolygonComputer.overlappingCells #18
Comments
Hi @mbtaylor , Thank you for the report. The good news is that the rust library seems to be working well for both polygons. I am going to check the differences between both libraries to fix the Java one (today or tomorrow). fx |
Fixed in commit b688015 (if the Newton method fails, we are in a corner case |
Thanks @fxpineau, I confirm that fixes my test case and the application issue I encountered that led to the report. |
Sure. I just updated the CHANGES file, the version number and added a tag. |
Thanks! |
Hi @fxpineau. I see a problem if I run the following code against cds-healpix-java v0.30.2:
The calculation with the second set of vertices gives me an
AssertionError
atcds.healpix.NewtonMethod.arcSpecialPointInEqr(NewtonMethod.java:234)
, or aNullPointerException
later on if assertions are turned off. This is probably some kind of edge case since this code has been in topcat for several years and I haven't noticed it before now.The text was updated successfully, but these errors were encountered: