We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent febab1f commit 543572eCopy full SHA for 543572e
src/Core/Common/DistanceBetweenPoints/Code.cxx
@@ -58,7 +58,7 @@ int main(int, char *[])
58
PointType::RealType dist2 = p0.SquaredEuclideanDistanceTo(p1);
59
std::cout << "Dist2: " << dist2 << std::endl;
60
61
- if( vnl_math_abs( dist2 - dist * dist ) < vnl_math::eps )
+ if( std::abs( dist2 - dist * dist ) < vnl_math::eps )
62
{
63
std::cerr << "dist2 != dist * dist" << std::endl;
64
return EXIT_FAILURE;
0 commit comments