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.
2 parents 7546e3b + 543572e commit e5f6d08Copy full SHA for e5f6d08
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