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 e68983d commit bd0b8fcCopy full SHA for bd0b8fc
src/qcdloop/maths.h
@@ -34,7 +34,7 @@ namespace ql
34
inline qcomplex Sqrt(qcomplex const& x){ return csqrtq(x); }
35
36
// Absolute value
37
- inline double Abs(double const& x) { return std::fabs(x); }
+ inline double Abs(double const& x) { return std::abs(x); }
38
inline qdouble Abs(qdouble const& x) { return fabsq(x);}
39
inline double Abs(complex const& x) { return std::abs(x);}
40
inline qdouble Abs(qcomplex const& x) { return cabsq(x); }
0 commit comments