Skip to content

Commit

Permalink
COMP: Fix compile error when ITK_USE_FLOAT_SPACE_PRECISION=ON
Browse files Browse the repository at this point in the history
  • Loading branch information
dzenanz committed Nov 6, 2024
1 parent 148bc32 commit 02a3d2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Modules/Core/Common/test/itkAnatomicalOrientationGTest.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,9 @@ TEST(AnatomicalOrientation, ConvertDirectionToPositiveEnum)
d(0, 2) = 1;
EXPECT_EQ(OE::SPL, AnatomicalOrientation(d));

const double data[] = { 0.5986634407395047, 0.22716302314740483, -0.768113953548866,
0.5627936241740271, 0.563067040943212, 0.6051601804419384,
0.5699696670095713, -0.794576911518317, 0.20924175102261847 };
const itk::SpacePrecisionType data[] = { 0.5986634407395047, 0.22716302314740483, -0.768113953548866,
0.5627936241740271, 0.563067040943212, 0.6051601804419384,
0.5699696670095713, -0.794576911518317, 0.20924175102261847 };
ImageType::DirectionType::InternalMatrixType m{ data };
d.GetVnlMatrix() = m;
EXPECT_EQ(OE::PIR, AnatomicalOrientation(d));
Expand Down

0 comments on commit 02a3d2f

Please sign in to comment.