Skip to content

Commit d3cbc88

Browse files
authored
Merge pull request #42 from InsightSoftwareConsortium/fix-vnl_math-namespace-resolution
ENH: Fix vnl_math namespace resolution
2 parents a98dd70 + 2e5b7d6 commit d3cbc88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/itkSingleImageCostFunction.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ SingleImageCostFunction<TImage>
146146
// (indicated by very large values) which may skew the gradient.
147147
// To avoid this skewing effect, we reset gradient values larger
148148
// than a given threshold.
149-
if ( vnl_math_abs(derivative[i]) > DerivativeThreshold )
149+
if ( vnl_math::abs(derivative[i]) > DerivativeThreshold )
150150
{
151151
derivative[i] = 0.0;
152152
}

0 commit comments

Comments
 (0)