From 2f067ee969928bd239fdfa97187c0ec6e7037e93 Mon Sep 17 00:00:00 2001 From: Christian Engwer <christi@dune-project.org> Date: Mon, 1 Feb 2010 14:40:42 +0000 Subject: [PATCH] fix use of fvmeta merge to release [[Imported from SVN: r1175]] --- dune/istl/scaledidmatrix.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dune/istl/scaledidmatrix.hh b/dune/istl/scaledidmatrix.hh index 2ebe8e3ff..41ab81e3e 100644 --- a/dune/istl/scaledidmatrix.hh +++ b/dune/istl/scaledidmatrix.hh @@ -328,7 +328,7 @@ namespace Dune { //! frobenius norm: sqrt(sum over squared values of entries) double frobenius_norm () const { - return std::sqrt(n*p_*p_); + return fvmeta::sqrt(n*p_*p_); } //! square of frobenius norm, need for block recursion @@ -340,13 +340,13 @@ namespace Dune { //! infinity norm (row sum norm, how to generalize for blocks?) double infinity_norm () const { - return std::fabs(p_); + return std::abs(p_); } //! simplified infinity norm (uses Manhattan norm for complex values) double infinity_norm_real () const { - return fvmeta_absreal(p_); + return fvmeta::absreal(p_); } //===== solve -- GitLab