From 6512df02372cfb3507bf1799115511a68ab5036e Mon Sep 17 00:00:00 2001 From: srit Date: Sat, 26 Mar 2011 22:55:10 +0000 Subject: [PATCH] Another lrint --- itk/itkBSplineInterpolateImageFunctionWithLUT.txx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/itk/itkBSplineInterpolateImageFunctionWithLUT.txx b/itk/itkBSplineInterpolateImageFunctionWithLUT.txx index 01c7b9e..35c1664 100644 --- a/itk/itkBSplineInterpolateImageFunctionWithLUT.txx +++ b/itk/itkBSplineInterpolateImageFunctionWithLUT.txx @@ -190,7 +190,7 @@ namespace itk // Compute index in precomputed weights table TCoefficientType t2 = mSamplingFactors[l]*t1; - index[l] = (IndexValueType)lrint(t2); + index[l] = (IndexValueType)Math::Round(t2); // For even order : test if too close to 0.5 (but lower). In this // case : take the next coefficient -- 2.47.1