mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-25 15:53:19 +08:00
Add missing using std::sqrt
This commit is contained in:
parent
a0fb885c82
commit
24e4a3af2b
@ -154,6 +154,7 @@ template<typename Scalar> struct scalar_hypot_op {
|
|||||||
{
|
{
|
||||||
using std::max;
|
using std::max;
|
||||||
using std::min;
|
using std::min;
|
||||||
|
using std::sqrt;
|
||||||
Scalar p = (max)(_x, _y);
|
Scalar p = (max)(_x, _y);
|
||||||
Scalar q = (min)(_x, _y);
|
Scalar q = (min)(_x, _y);
|
||||||
Scalar qp = q/p;
|
Scalar qp = q/p;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user