Closed mbtaylor closed 4 years ago
I finally manage to re-understand the code and to fix the issue (at least with this specific polygon). So I close the issue, waiting for possibly new pathological polygons...
Completely unrelated, but for my curiosity: I noticed that the first and the last vertices are the same in your polygon, why so?
Thanks for the fix - playing around with the latest version hasn't shown up any similar issues so far.
Regarding the polygon: I did explicitly write code to add this duplicated closing point at some time in the past, so I probably had my reasons, but I can't see what they are now. I've removed it.
It is (rarely) possible to provoke an AssertionError (if assertions are enabled) while evaluating cells in a polygon:
fails the
assert
statement atcds.healpix.NewtonMethod.arcSpecialPointInPc(NewtonMethod.java:394)
. I haven't noticed problems with the call apart from that.