]> git.tdb.fi Git - libs/math.git/blobdiff - source/linal/vector.h
Math function usage fixes
[libs/math.git] / source / linal / vector.h
index a5c9a26cfc1e8152fd4cece0158aa553f3b97c8d..9ef46fde412f22804535065d6dd59c10b11963e2 100644 (file)
@@ -257,6 +257,7 @@ inline T inner_product(const Vector<T, N> &v1, const Vector<T, N> &v2)
 template<typename T, unsigned N>
 inline T Vector<T, N>::norm() const
 {
+       using std::sqrt;
        return sqrt(inner_product(*this, *this));
 }