Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
BUG in PalPole #9
I have detected a BUG in Palpole, for some reason it is doing some calculation wrong.
I have added a LAT/LONG of 46.5, 83
I obtained two poles: 78.4, 8.2 and -78.4, 188.2 (as expected)
However if I add those two poles and click in obtain directions I get: 343, 66 and 197, -66!!!!! which is obviously wrong.
I have tried with other latitudes and it does not work always properly (but other times, it does). After playing a bit, I cannot tell when fails and when it does not.
By the way, it is important to improve this since I know people that it is using this tool to calculate the poles of their directions!! (in addition to me).
P.S. And as an improvement, would it be possible to get all numbers in a single table (including paleolat) that would be great for papers!
Thanks Daniel, that is a good catch.. that is a little worrying. I have identified the issue and will fix it tonight.
It was doing a comparison between
Darn JS. I have already noticed that the mistake was "symmetric" (16° to 180 in both sides) but I could not figure out why and where was the mistake. Next bug, I might be already in the position to fix :P
Once is fixed tell me so I can try many poles to see if there is nothing else to worry. Cheers!