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

repair the vertex geometry specialization

parent c635cda5
Pipeline #4867 passed with stage
in 9 minutes and 2 seconds
......@@ -171,12 +171,12 @@ protected:
public:
template <class... Args>
VertexGeometry (const ReferenceElement& refElement, const LocalFunction& lf, Args&&... args)
VertexGeometry (const ReferenceElement& refElement, int, const LocalFunction& lf, Args&&... args)
: VertexGeometry(Construct{}, refElement, lf, LocalGeometry(std::forward<Args>(args)...))
{}
template <class... Args>
VertexGeometry (Dune::GeometryType gt, const LocalFunction& lf, Args&&... args)
VertexGeometry (Dune::GeometryType gt, int, const LocalFunction& lf, Args&&... args)
: VertexGeometry(Construct{}, ReferenceElements::general(gt), lf,
LocalGeometry(std::forward<Args>(args)...))
{}
......@@ -203,8 +203,17 @@ private:
// Specialization for vertex geometries
template <class ct, int cdim, class LF, class LG, bool useInterpolation>
class Geometry<ct,0,cdim,LF,LG, useInterpolation>
template <class ct, int cdim, class LF, class LG>
class Geometry<ct,0,cdim,LF,LG,true>
: public VertexGeometry<ct,cdim,LF,LG>
{
using Super = VertexGeometry<ct,cdim,LF,LG>;
public:
using Super::Super;
};
template <class ct, int cdim, class LF, class LG>
class Geometry<ct,0,cdim,LF,LG,false>
: public VertexGeometry<ct,cdim,LF,LG>
{
using Super = VertexGeometry<ct,cdim,LF,LG>;
......
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