diff --git a/AMDiS/src/DOFVector.h b/AMDiS/src/DOFVector.h index c0759dc04ac473fa3320aaf6c20e7aeb7a9d2954..ddcb293dc5f90021cd5e69638ff87d03540bef6b 100644 --- a/AMDiS/src/DOFVector.h +++ b/AMDiS/src/DOFVector.h @@ -524,7 +524,7 @@ namespace AMDiS { /// Calculates L2 norm of this DOFVector inline double L2Norm(Quadrature* q = nullptr) const { - return sqrt(L2NormSquare()); + return std::sqrt(L2NormSquare()); } /// Calculates square of L2 norm of this DOFVector @@ -533,7 +533,7 @@ namespace AMDiS { /// Calculates H1 norm of this DOFVector inline double H1Norm(Quadrature* q = nullptr) const { - return sqrt(H1NormSquare()); + return std::sqrt(H1NormSquare()); } /// Calculates square of H1 norm of this DOFVector