Skip to content

Commit bd0b8fc

Browse files
committed
fixing another fabs to abs
1 parent e68983d commit bd0b8fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qcdloop/maths.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ namespace ql
3434
inline qcomplex Sqrt(qcomplex const& x){ return csqrtq(x); }
3535

3636
// Absolute value
37-
inline double Abs(double const& x) { return std::fabs(x); }
37+
inline double Abs(double const& x) { return std::abs(x); }
3838
inline qdouble Abs(qdouble const& x) { return fabsq(x);}
3939
inline double Abs(complex const& x) { return std::abs(x);}
4040
inline qdouble Abs(qcomplex const& x) { return cabsq(x); }

0 commit comments

Comments
 (0)