From e78b2db16c17da95f0c4eeb73636ee7ab027e5a3 Mon Sep 17 00:00:00 2001 From: Christian Zimmermann Date: Sun, 4 Nov 2018 18:39:49 +0100 Subject: [PATCH] minor fix --- src/include/multi_array.cc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/multi_array.cc.h b/src/include/multi_array.cc.h index eb39f66..55af2c7 100644 --- a/src/include/multi_array.cc.h +++ b/src/include/multi_array.cc.h @@ -258,7 +258,7 @@ namespace MultiArrayTools template MultiArray::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]; }