Commit b9fab896 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Add changes to LagrangeGridCreator to suppress deprecation warning

parent bfe11265
Pipeline #6680 passed with stage
in 7 minutes and 13 seconds
......@@ -267,7 +267,11 @@ template <class K>
template <class Points>
void LagrangePointSetBuilder<K,3>::operator() (GeometryType gt, unsigned int order, Points& points) const
{
#if DUNE_VERSION_LT(DUNE_LOCALFUNCTIONS,2,8)
std::size_t nPoints = numLagrangePoints(gt.id(), dim, order);
#else
std::size_t nPoints = numLagrangePoints(gt, order);
#endif
if (gt.isTetrahedron())
buildTetra(nPoints, order, points);
......
Supports Markdown
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