Skip to content

Commit

Permalink
STYLE: Prefer itk::Math::abs for consistency.
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Rit committed Jan 21, 2022
1 parent 3a832ed commit c759c9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rtkThreeDCircularProjectionGeometry.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ rtk::ThreeDCircularProjectionGeometry::FixAngles(double & outOfPlan
const Matrix3x3Type & rm = referenceMatrix; // shortcut
const double EPSILON = 1e-6; // internal tolerance for comparison

if (itk::Math::abs(fabs(rm[2][1]) - 1.) > EPSILON)
if (itk::Math::abs(itk::Math::abs(rm[2][1]) - 1.) > EPSILON)
{
double oa = NAN, ga = NAN, ia = NAN;

Expand Down

0 comments on commit c759c9a

Please sign in to comment.