mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Add missing using std::sqrt
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user