Skip to content

Commit e5f6d08

Browse files
authored
Merge pull request #82 from thewtex/remove-vnl_math_abs
COMP: Replace vnl_math_abs with std::abs
2 parents 7546e3b + 543572e commit e5f6d08

File tree

1 file changed

+1
-1
lines changed
  • src/Core/Common/DistanceBetweenPoints

1 file changed

+1
-1
lines changed

src/Core/Common/DistanceBetweenPoints/Code.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ int main(int, char *[])
5858
PointType::RealType dist2 = p0.SquaredEuclideanDistanceTo(p1);
5959
std::cout << "Dist2: " << dist2 << std::endl;
6060

61-
if( vnl_math_abs( dist2 - dist * dist ) < vnl_math::eps )
61+
if( std::abs( dist2 - dist * dist ) < vnl_math::eps )
6262
{
6363
std::cerr << "dist2 != dist * dist" << std::endl;
6464
return EXIT_FAILURE;

0 commit comments

Comments
 (0)