Closed mbtaylor closed 4 years ago
I solve the issue. Even so, your code still fails. Here the results for hash 6/42239:
Left:
4.338389854957334, -0.7436814253990303
4.3323576109988275, -0.7575925985268412
4.313456579928843, -0.7436814253990303
4.319689898685965, -0.7297276562269663
Right:
4.338389854957334, -0.7436814253990303
4.3323576109988275, -0.7575925985268412
4.313456579928843, -0.7436814253990303
4.319689898685965, -0.7297276562269666
The difference -0.7297276562269663 != -0.7297276562269666
comes from different numerical approximations using two different algo.
The difference is 3e-16 rad = 0.06 nano arcsec.
I close the issue considering that it is acceptable (feel free to re-open if you do not agree).
Nano arcsec is OK! Thanks for the fix.
The result of
VerticesAndPathComputer.pathAlongCellEdge
differs in some cases betweenHealpixNested
andHealpixNestedFast
. I thinkHealpixNestedFast
is the one getting it wrong.Running this:
gives me
May or may not be related to #9.