Skip to content
Snippets Groups Projects
Commit 03d7a6e6 authored by Felix Schindler's avatar Felix Schindler
Browse files

[functions.interfaces] added static dimension check

parent 22319bf3
No related branches found
No related tags found
No related merge requests found
......@@ -66,6 +66,8 @@ class LocalizableFunction
template <class EntityImp, class DomainFieldImp, int domainDim, class RangeFieldImp, int rangeDim, int rangeDimCols = 1>
class LocalfunctionSetInterface
{
static_assert(EntityImp::dimension == domainDim, "Dimensions do not match!");
template <class RangeFieldType, int dimRange, int dimRangeCols>
struct RangeTypeSelector
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment