Commit d93ad598 authored by Wieland Marth's avatar Wieland Marth
Browse files

DOFVector.h

parent eeb66c61
...@@ -524,7 +524,7 @@ namespace AMDiS { ...@@ -524,7 +524,7 @@ namespace AMDiS {
/// Calculates L2 norm of this DOFVector /// Calculates L2 norm of this DOFVector
inline double L2Norm(Quadrature* q = nullptr) const inline double L2Norm(Quadrature* q = nullptr) const
{ {
return sqrt(L2NormSquare()); return std::sqrt(L2NormSquare());
} }
/// Calculates square of L2 norm of this DOFVector /// Calculates square of L2 norm of this DOFVector
...@@ -533,7 +533,7 @@ namespace AMDiS { ...@@ -533,7 +533,7 @@ namespace AMDiS {
/// Calculates H1 norm of this DOFVector /// Calculates H1 norm of this DOFVector
inline double H1Norm(Quadrature* q = nullptr) const inline double H1Norm(Quadrature* q = nullptr) const
{ {
return sqrt(H1NormSquare()); return std::sqrt(H1NormSquare());
} }
/// Calculates square of H1 norm of this DOFVector /// Calculates square of H1 norm of this DOFVector
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment