There's actually a sign ambiguity in the expression on this line! This leads to the incorrect points of intersection with the occultor in some cases. Should have led to bugs, but I think usually the intersections with the ellipses are sufficient to get very close to the right answer. This needs to be fixed, though.
There's actually a sign ambiguity in the expression on this line! This leads to the incorrect points of intersection with the occultor in some cases. Should have led to bugs, but I think usually the intersections with the ellipses are sufficient to get very close to the right answer. This needs to be fixed, though.