From a55b8d8b9f2cd62d4989b94b874d726447c36308 Mon Sep 17 00:00:00 2001 From: Christian Zimmermann Date: Wed, 19 Sep 2018 09:32:50 +0200 Subject: [PATCH] clean up --- src/include/multi_array_operation.h | 1 - src/include/ranges/single_range.h | 1 - src/include/xfor/xfor.h | 2 -- 3 files changed, 4 deletions(-) diff --git a/src/include/multi_array_operation.h b/src/include/multi_array_operation.h index be234e9..10f77fd 100644 --- a/src/include/multi_array_operation.h +++ b/src/include/multi_array_operation.h @@ -631,7 +631,6 @@ namespace MultiArrayTools template void OperationMaster::performAssignment(std::intptr_t blockIndexNum) { - CHECK; AssignmentExpr ae(*this, mSecond); // Expression to be executed within loop const auto loop = mSecond.template loop( mIndex.ifor(1,ae) ); // hidden Loops outside ! -> auto vectorizable diff --git a/src/include/ranges/single_range.h b/src/include/ranges/single_range.h index 125d641..17f3689 100644 --- a/src/include/ranges/single_range.h +++ b/src/include/ranges/single_range.h @@ -153,7 +153,6 @@ namespace MultiArrayTools max1(in[0][0]), max2(in[0][1]) { - CHECK; for(auto& x: in){ if(min1 > x[0]) min1 = x[0]; if(min2 > x[1]) min2 = x[1]; diff --git a/src/include/xfor/xfor.h b/src/include/xfor/xfor.h index f2e3437..5c3379e 100644 --- a/src/include/xfor/xfor.h +++ b/src/include/xfor/xfor.h @@ -188,7 +188,6 @@ namespace MultiArrayHelper ExtType last) const { typedef typename IndexClass::RangeType RangeType; - if(mlast == static_cast( -1 ) ) { CHECK; } for(size_t pos = 0u; pos != ForBound::template bound(mMax); ++pos){ //for(size_t pos = mSPos; pos != mMax; ++pos){ //const size_t mnpos = PosForward::value(mlast, mMax, pos); @@ -201,7 +200,6 @@ namespace MultiArrayHelper template inline void For::operator()(size_t mlast) const { - if(mlast == static_cast( -1 ) ) { CHECK; } typedef typename IndexClass::RangeType RangeType; const ExtType last; for(size_t pos = 0u; pos != ForBound::template bound(mMax); ++pos){