Skip to content

Commit 12301db

Browse files
committed
fix error in a better way
1 parent fdf711f commit 12301db

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/common/CArrayWrapper.hpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@
1313
* @tparam DIMS Parameter pack specifying the size of each dimension.
1414
*/
1515
template< typename T, int ... DIMS >
16-
struct CArrayWrapper
17-
{
18-
static constexpr int ndims = sizeof...( DIMS );
19-
static_assert( ndims>3, "Unsupported number of dimensions" );
20-
};
16+
struct CArrayWrapper;
2117

2218
/**
2319
* @brief Specialization of CArrayWrapper for 1-dimensional arrays.

0 commit comments

Comments
 (0)