We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bf71f8 commit fdf711fCopy full SHA for fdf711f
src/common/CArrayWrapper.hpp
@@ -16,7 +16,7 @@ template< typename T, int ... DIMS >
16
struct CArrayWrapper
17
{
18
static constexpr int ndims = sizeof...( DIMS );
19
- static_assert( false, "Unsupported number of dimensions" );
+ static_assert( ndims>3, "Unsupported number of dimensions" );
20
};
21
22
/**
0 commit comments