Skip to content
Snippets Groups Projects
Commit cfc81368 authored by Elias Pipping's avatar Elias Pipping Committed by pipping
Browse files

Fix deprecation warning

[[Imported from SVN: r11829]]
parent 97c10738
Branches
No related tags found
No related merge requests found
...@@ -92,9 +92,9 @@ ...@@ -92,9 +92,9 @@
/** \brief Compute the squared norm for a given vector and matrix /** \brief Compute the squared norm for a given vector and matrix
\todo This could be implemented without the temporary. */ \todo This could be implemented without the temporary. */
static field_type normSquared(const DiscFuncType& u, DUNE_DEPRECATED static field_type normSquared(const DiscFuncType& u,
const OperatorType& A, const OperatorType& A,
const double tol=1e-10) const double tol=1e-10)
{ {
DiscFuncType tmp(u.size()); DiscFuncType tmp(u.size());
A.mv(u, tmp); A.mv(u, tmp);
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
return ret; return ret;
} DUNE_DEPRECATED; };
protected: protected:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment