Skip to content

Commit

Permalink
fixing another fabs to abs
Browse files Browse the repository at this point in the history
  • Loading branch information
scarrazza committed Jul 30, 2020
1 parent e68983d commit bd0b8fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qcdloop/maths.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ namespace ql
inline qcomplex Sqrt(qcomplex const& x){ return csqrtq(x); }

// Absolute value
inline double Abs(double const& x) { return std::fabs(x); }
inline double Abs(double const& x) { return std::abs(x); }
inline qdouble Abs(qdouble const& x) { return fabsq(x);}
inline double Abs(complex const& x) { return std::abs(x);}
inline qdouble Abs(qcomplex const& x) { return cabsq(x); }
Expand Down

0 comments on commit bd0b8fc

Please sign in to comment.