From ac0acaccece4f69c8bdd1df8922d74cdce55b559 Mon Sep 17 00:00:00 2001 From: Rene Milk <rene.milk@uni-muenster.de> Date: Mon, 22 Jul 2013 12:02:37 +0200 Subject: [PATCH] [common] fix the damn StraightenBlockVector call forever --- dune/stuff/common/math.hh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dune/stuff/common/math.hh b/dune/stuff/common/math.hh index 53bc60707..4bc011b9e 100644 --- a/dune/stuff/common/math.hh +++ b/dune/stuff/common/math.hh @@ -35,9 +35,14 @@ namespace boost { namespace math { + +// use the limited scope here to no longer care about which effing fem version we compile against +using namespace Dune; +using namespace Dune::Fem; + //! isinf specialization for Dune::StraightenBlockVector template <class BlockVectorImp, class DofImp> -inline bool isinf(const Dune::Fem::StraightenBlockVector<BlockVectorImp, DofImp>& x) +inline bool isinf(const StraightenBlockVector<BlockVectorImp, DofImp>& x) { for (size_t i = 0; i < x.size(); ++i) { if (std::isinf(x[i])) -- GitLab