diff --git a/Modules/Core/Transform/include/itkBSplineDeformableTransform.hxx b/Modules/Core/Transform/include/itkBSplineDeformableTransform.hxx index 9d42fa3f873..2c20b603654 100644 --- a/Modules/Core/Transform/include/itkBSplineDeformableTransform.hxx +++ b/Modules/Core/Transform/include/itkBSplineDeformableTransform.hxx @@ -556,7 +556,7 @@ BSplineDeformableTransform::Comp // Zero all components of jacobian jacobian.SetSize(SpaceDimension, this->GetNumberOfParameters()); jacobian.Fill(0.0); - auto supportSize = SizeType::Filled(SplineOrder + 1); + constexpr auto supportSize = SizeType::Filled(SplineOrder + 1); ContinuousIndexType index = this->m_CoefficientImages[0]