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.
2 parents 49b92b2 + 79dd4a2 commit 9052db8Copy full SHA for 9052db8
1 file changed
stan/math/prim/fun/fabs.hpp
@@ -17,7 +17,7 @@ inline auto fabs(T x) {
17
18
template <typename T, require_complex_t<T>* = nullptr>
19
inline auto fabs(T x) {
20
- return hypot(x.real(), x.imag());
+ return std::hypot(x.real(), x.imag());
21
}
22
23
/**
0 commit comments