diff --git a/matrix/Vector.hpp b/matrix/Vector.hpp index 09ad18ca69..c6f0c24698 100644 --- a/matrix/Vector.hpp +++ b/matrix/Vector.hpp @@ -66,7 +66,7 @@ public: Type norm() const { const Vector &a(*this); - return Type(::sqrt(a.dot(a))); + return Type(matrix::sqrt(a.dot(a))); } Type norm_squared() const { @@ -102,7 +102,7 @@ public: const Vector &a(*this); Vector r; for (size_t i = 0; i