diff --git a/MathLib/LinAlg/VectorNorms.h b/MathLib/LinAlg/VectorNorms.h index 8ea94d8ad7a7abf7a6f07483f53470ebe0bac718..3df3d0374d3791ababfdd6dd159f67b2d1c3c10d 100644 --- a/MathLib/LinAlg/VectorNorms.h +++ b/MathLib/LinAlg/VectorNorms.h @@ -23,7 +23,7 @@ namespace MathLib { double normEuklid (double const * const vec, std::size_t n) { - return sqrt (scpr (vec, vec, n)); + return sqrt (scalarProduct (vec, vec, n)); } } // end namespace MathLib