Skip to content
Snippets Groups Projects
Commit 1e99bd5d authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

MRG

parents bf9210a2 503f26fe
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 * m_Coefficients->GetPixel(coefficientIndex));
interpolated += static_cast<TCoefficientType>(w * static_cast<double>(m_Coefficients->GetPixel(coefficientIndex)));
}
return(interpolated);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment