You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found a bug that sometimes RouteSearchBean returns a null route. (0.0000001 difference can change the result)
The root problem is that Math.acos returns NaN when dist is a bit greater than 1.0
So the dist should be truncated within -1.0 to 1.0.
I found a bug that sometimes RouteSearchBean returns a null route. (0.0000001 difference can change the result)
The root problem is that Math.acos returns NaN when dist is a bit greater than 1.0
So the dist should be truncated within -1.0 to 1.0.
The text was updated successfully, but these errors were encountered: