diff --git a/Modules/Core/Common/test/itkBSplineInterpolationWeightFunctionTest.cxx b/Modules/Core/Common/test/itkBSplineInterpolationWeightFunctionTest.cxx index a42db6ad9a5..047ecfc63b7 100644 --- a/Modules/Core/Common/test/itkBSplineInterpolationWeightFunctionTest.cxx +++ b/Modules/Core/Common/test/itkBSplineInterpolationWeightFunctionTest.cxx @@ -67,7 +67,7 @@ itkBSplineInterpolationWeightFunctionTest(int, char *[]) IndexType startIndex1; IndexType startIndex2; - double testFailed = false; + bool testFailed = false; for (double x = 0.0; x <= 2.0; x += 0.1) { @@ -154,7 +154,7 @@ itkBSplineInterpolationWeightFunctionTest(int, char *[]) IndexType startIndex1; IndexType startIndex2; - double testFailed = false; + bool testFailed = false; for (double x = 0.0; x <= 2.0; x += 0.1) {