diff --git a/dune/gdt/spaces/interface.hh b/dune/gdt/spaces/interface.hh index 7be6683b460d2a3b717ad0764c2f6bada90b2ed7..b2b94f725463fb887669cfa6db4a285dccf82277 100644 --- a/dune/gdt/spaces/interface.hh +++ b/dune/gdt/spaces/interface.hh @@ -140,8 +140,8 @@ public: * * \note Any derived class has to implement this method, even if it does not support any kind of constraints! * In that case just provide exactly the following method:\code -template< class S, class ConstraintsType > -void local_constraints(const SpaceInterface< S >&, const EntityType&, ConstraintsType&) const +template< class S, int d, int r, int rC, class ConstraintsType > +void local_constraints(const SpaceInterface< S, d, r, rC > >&, const EntityType&, ConstraintsType&) const { static_assert(AlwaysFalse< S >::value, "Not implemented for these constraints!"); }