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