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 49b92b2 commit 79dd4a2Copy full SHA for 79dd4a2
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