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.
1 parent a98dd70 commit 2e5b7d6Copy full SHA for 2e5b7d6
include/itkSingleImageCostFunction.hxx
@@ -146,7 +146,7 @@ SingleImageCostFunction<TImage>
146
// (indicated by very large values) which may skew the gradient.
147
// To avoid this skewing effect, we reset gradient values larger
148
// than a given threshold.
149
- if ( vnl_math_abs(derivative[i]) > DerivativeThreshold )
+ if ( vnl_math::abs(derivative[i]) > DerivativeThreshold )
150
{
151
derivative[i] = 0.0;
152
}
0 commit comments