Commit 855e77cf authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

set order parameter of dynamic LAgrangePreBasis correctly

parent 0efb1d15
......@@ -61,7 +61,7 @@ namespace AMDiS
{
auto node = preBasis.makeNode();
node.bind(*preBasis.gridView().template begin<0>());
return {preBasis.gridView(), (unsigned int)(polynomialDegree(node))};
return {preBasis.gridView(), (unsigned int)(node.finiteElement().localBasis().order())};
}
static type const& create(type const& preBasis)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment