We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The current implementation for calculating the distance between two points contains code, where values are checked against zero.
// Eq. 17 Careful! sin2sigma might be almost 0! final double sinalpha = sin2sigma == 0.0 ? 0.0 : cosU1cosU2*sinlambda/sinsigma;
This kind of comparison isn't numerically stable. Replace this code with an epsilon check.
The text was updated successfully, but these errors were encountered:
#134: Add epsilon 'equals' method.
84705c0
#134: Improve 'equals' method.
64c98f4
#134: Stabilize 'distance* method.
ca0cfb3
Merge pull request #135 from jenetics/issues/JPX-134-stable_distance
5c7fb4d
#134: Stable distance method
Merged into r2.1.0 branch.
Sorry, something went wrong.
jenetics
No branches or pull requests
The current implementation for calculating the distance between two points contains code, where values are checked against zero.
This kind of comparison isn't numerically stable. Replace this code with an epsilon check.
The text was updated successfully, but these errors were encountered: