From 709bad66dcf880628a7b8252660f68e32132ac34 Mon Sep 17 00:00:00 2001 From: Oliver Sander <oliver.sander@tu-dresden.de> Date: Sat, 5 Mar 2016 15:55:28 +0100 Subject: [PATCH] Fix test for first-order bases It still tested for the dune-fufem wrapper of a first-order basis, while nowadays the RiemannianTRSolver class is instantiated with dune-functions bases. --- dune/gfe/riemanniantrsolver.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dune/gfe/riemanniantrsolver.cc b/dune/gfe/riemanniantrsolver.cc index acc138f7..fff389d6 100644 --- a/dune/gfe/riemanniantrsolver.cc +++ b/dune/gfe/riemanniantrsolver.cc @@ -201,7 +201,7 @@ setup(const GridType& grid, // On the lower grid levels a hierarchy of P1/Q1 spaces is used again. //////////////////////////////////////////////////////////////////////// - bool isP1Basis = std::is_same<Basis,DuneFunctionsBasis<Dune::Functions::PQkNodalBasis<typename Basis::GridView,1> > >::value; + bool isP1Basis = std::is_same<Basis,Dune::Functions::PQkNodalBasis<typename Basis::GridView,1> >::value; if (isP1Basis) mmgStep->mgTransfer_.resize(numLevels-1); -- GitLab