minor fix
This commit is contained in:
parent
3c653535bc
commit
e78b2db16c
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ namespace MultiArrayTools
|
|||
template <typename T, class... SRanges>
|
||||
MultiArray<T,SRanges...>::operator T() const
|
||||
{
|
||||
static_assert( sizeof...(SRanges) == 1, "try to cast non-scalar type into scalar" );
|
||||
//static_assert( sizeof...(SRanges) == 1, "try to cast non-scalar type into scalar" );
|
||||
// TODO: check that SIZE is statically = 1 !!!
|
||||
return mCont[0];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue