Skip to content
Snippets Groups Projects
Commit 6509a155 authored by Thomas Feuvrier's avatar Thomas Feuvrier
Browse files

COMP: itkOptBSplineInterpolateImageFunction.txx correction for std::complex...

COMP: itkOptBSplineInterpolateImageFunction.txx correction for std::complex pixel type (ResampleSLCImage testing)
parent d5a40bd8
No related branches found
No related tags found
No related merge requests found
......@@ -800,7 +800,7 @@ BSplineInterpolateImageFunction<TImageType,TCoordRep,TCoefficientType>
w *= (weights)[n][indx];
coefficientIndex[n] = (evaluateIndex)[n][indx];
}
interpolated += static_cast<TCoefficientType>(w * static_cast<double>(m_Coefficients->GetPixel(coefficientIndex)));
interpolated += static_cast<TCoefficientType>(w * m_Coefficients->GetPixel(coefficientIndex));
}
return(interpolated);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment