Skip to content

Commit efe5933

Browse files
authored
Merge pull request #6696 from hjmjohnson/fix-transform-getinverse-math-abs
COMP: Use itk::Math::Absolute in transform inverse test
2 parents 3bb3271 + 34e25ce commit efe5933

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/Core/Transform/test/itkTestTransformGetInverse.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ InverseRoundTripTest(const TTransform * forward)
154154
const auto roundTrip = inverse->TransformPoint(forward->TransformPoint(p));
155155
for (unsigned int d = 0; d < 3; ++d)
156156
{
157-
if (itk::Math::abs(roundTrip[d] - p[d]) > 1e-6)
157+
if (itk::Math::Absolute(roundTrip[d] - p[d]) > 1e-6)
158158
{
159159
std::cerr << "ERROR: " << name << " inverse round-trip failed: got " << roundTrip << " expected " << p
160160
<< std::endl;

0 commit comments

Comments
 (0)