minor fix

This commit is contained in:
Christian Zimmermann 2018-11-04 18:39:49 +01:00
parent 3c653535bc
commit e78b2db16c

View file

@ -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];
}