Skip to content

Commit 2e5b7d6

Browse files
committed
ENH: Fix vnl_math namespace resolution
vnl_math_XXX has become vnl_math:: as a proper namespace.
1 parent a98dd70 commit 2e5b7d6

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)