Skip to content

Commit

Permalink
COMP: Fix compilation issues
Browse files Browse the repository at this point in the history
Core/Transform/test/itkTransformTest.cxx:224:46: error:
default initialization of an object of const type 'const
itk::itkTransformTestHelpers::TransformTester<double, 3,
3>::InputSymmetricSecondRankTensorType' (aka 'const
SymmetricSecondRankTensor<double, 3U>') without a user-provided default
constructor const InputSymmetricSecondRankTensorType ssrten;
                                                     ^
                                                     {}
  • Loading branch information
hjmjohnson committed Dec 18, 2024
1 parent c9b342e commit 7d488f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/Core/Transform/test/itkTransformTest.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ class TransformTester
transform->TransformDiffusionTensor3D(vecpix, pnt);
std::cout << "TransformDiffusionTensor3D() OK" << std::endl;

const InputSymmetricSecondRankTensorType ssrten;
const InputSymmetricSecondRankTensorType ssrten{};
vecpix.SetSize(VInputDimension * VInputDimension);
vecpix.Fill(0);
transform->TransformSymmetricSecondRankTensor(ssrten);
Expand Down

0 comments on commit 7d488f7

Please sign in to comment.