Skip to content
Snippets Groups Projects
Commit 709bad66 authored by Sander, Oliver's avatar Sander, Oliver
Browse files

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.
parent d6d77fd9
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment