We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74379a6 commit 8decfcfCopy full SHA for 8decfcf
src/itkMGHImageIO.cxx
@@ -771,7 +771,7 @@ MGHImageIO ::GetOrientation(itk::Matrix<double> directions)
771
const double sag = directions(0, cAxes); // LR axis
772
const double cor = directions(1, cAxes); // PA axis
773
const double ax = directions(2, cAxes); // IS axis
774
- if (fabs(sag) > fabs(cor) && fabs(sag) > fabs(ax))
+ if (itk::Math::abs(sag) > itk::Math::abs(cor) && itk::Math::abs(sag) > itk::Math::abs(ax))
775
{
776
if (sag > 0)
777
@@ -783,7 +783,7 @@ MGHImageIO ::GetOrientation(itk::Matrix<double> directions)
783
}
784
continue;
785
786
- if (fabs(cor) > fabs(ax))
+ if (itk::Math::abs(cor) > itk::Math::abs(ax))
787
788
if (cor > 0)
789
0 commit comments