Skip to content

Commit fdf711f

Browse files
committed
fix error
1 parent 5bf71f8 commit fdf711f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/CArrayWrapper.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ template< typename T, int ... DIMS >
1616
struct CArrayWrapper
1717
{
1818
static constexpr int ndims = sizeof...( DIMS );
19-
static_assert( false, "Unsupported number of dimensions" );
19+
static_assert( ndims>3, "Unsupported number of dimensions" );
2020
};
2121

2222
/**

0 commit comments

Comments
 (0)