Loading src/TNL/Containers/ndarray/SizesHolderHelpers.h +1 −1 Original line number Diff line number Diff line Loading @@ -199,7 +199,7 @@ struct SetSizesCopyHelper< TargetHolder, SourceHolder, 0 > { if( target.template getStaticSize< 0 >() == 0 ) target.template setSize< 0 >( source.template getSize< 0 >() ); else if( source.template getSize< 0 >() || else if( source.template getSize< 0 >() < 0 || target.template getStaticSize< 0 >() != (std::size_t) source.template getSize< 0 >() ) throw std::logic_error( "Cannot copy sizes due to inconsistent underlying types (static sizes don't match)." ); } Loading Loading
src/TNL/Containers/ndarray/SizesHolderHelpers.h +1 −1 Original line number Diff line number Diff line Loading @@ -199,7 +199,7 @@ struct SetSizesCopyHelper< TargetHolder, SourceHolder, 0 > { if( target.template getStaticSize< 0 >() == 0 ) target.template setSize< 0 >( source.template getSize< 0 >() ); else if( source.template getSize< 0 >() || else if( source.template getSize< 0 >() < 0 || target.template getStaticSize< 0 >() != (std::size_t) source.template getSize< 0 >() ) throw std::logic_error( "Cannot copy sizes due to inconsistent underlying types (static sizes don't match)." ); } Loading