Skip to content
Snippets Groups Projects
Commit c0121962 authored by Tobias Leibner's avatar Tobias Leibner
Browse files

[playground.mapper] add template parameters for SpaceInterface, refs #14

parent 1f45c9e8
No related branches found
No related tags found
No related merge requests found
...@@ -34,8 +34,11 @@ namespace internal { ...@@ -34,8 +34,11 @@ namespace internal {
template <class LocalSpaceType> template <class LocalSpaceType>
class BlockTraits class BlockTraits
{ {
static_assert(std::is_base_of<SpaceInterface<typename LocalSpaceType::Traits>, LocalSpaceType>::value, static_assert(
"LocalSpaceType has to be derived from SpaceInterface!"); std::is_base_of<SpaceInterface<typename LocalSpaceType::Traits, typename LocalSpaceType::dimDomain,
typename LocalSpaceType::dimRange, typename LocalSpaceType::dimRangeCols>,
LocalSpaceType>::value,
"LocalSpaceType has to be derived from SpaceInterface!");
public: public:
typedef Block<LocalSpaceType> derived_type; typedef Block<LocalSpaceType> derived_type;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment