This commit is contained in:
Christian Zimmermann 2018-09-19 09:32:50 +02:00
parent 46e5218167
commit a55b8d8b9f
3 changed files with 0 additions and 4 deletions

View file

@ -631,7 +631,6 @@ namespace MultiArrayTools
template <typename T, class OpClass, class... Ranges> template <typename T, class OpClass, class... Ranges>
void OperationMaster<T,OpClass,Ranges...>::performAssignment(std::intptr_t blockIndexNum) void OperationMaster<T,OpClass,Ranges...>::performAssignment(std::intptr_t blockIndexNum)
{ {
CHECK;
AssignmentExpr ae(*this, mSecond); // Expression to be executed within loop AssignmentExpr ae(*this, mSecond); // Expression to be executed within loop
const auto loop = mSecond.template loop<decltype(mIndex.ifor(1,ae))>( mIndex.ifor(1,ae) ); const auto loop = mSecond.template loop<decltype(mIndex.ifor(1,ae))>( mIndex.ifor(1,ae) );
// hidden Loops outside ! -> auto vectorizable // hidden Loops outside ! -> auto vectorizable

View file

@ -153,7 +153,6 @@ namespace MultiArrayTools
max1(in[0][0]), max1(in[0][0]),
max2(in[0][1]) max2(in[0][1])
{ {
CHECK;
for(auto& x: in){ for(auto& x: in){
if(min1 > x[0]) min1 = x[0]; if(min1 > x[0]) min1 = x[0];
if(min2 > x[1]) min2 = x[1]; if(min2 > x[1]) min2 = x[1];

View file

@ -188,7 +188,6 @@ namespace MultiArrayHelper
ExtType last) const ExtType last) const
{ {
typedef typename IndexClass::RangeType RangeType; typedef typename IndexClass::RangeType RangeType;
if(mlast == static_cast<size_t>( -1 ) ) { CHECK; }
for(size_t pos = 0u; pos != ForBound<RangeType::ISSTATIC>::template bound<RangeType::SIZE>(mMax); ++pos){ for(size_t pos = 0u; pos != ForBound<RangeType::ISSTATIC>::template bound<RangeType::SIZE>(mMax); ++pos){
//for(size_t pos = mSPos; pos != mMax; ++pos){ //for(size_t pos = mSPos; pos != mMax; ++pos){
//const size_t mnpos = PosForward<FT>::value(mlast, mMax, pos); //const size_t mnpos = PosForward<FT>::value(mlast, mMax, pos);
@ -201,7 +200,6 @@ namespace MultiArrayHelper
template <class IndexClass, class Expr, ForType FT> template <class IndexClass, class Expr, ForType FT>
inline void For<IndexClass,Expr,FT>::operator()(size_t mlast) const inline void For<IndexClass,Expr,FT>::operator()(size_t mlast) const
{ {
if(mlast == static_cast<size_t>( -1 ) ) { CHECK; }
typedef typename IndexClass::RangeType RangeType; typedef typename IndexClass::RangeType RangeType;
const ExtType last; const ExtType last;
for(size_t pos = 0u; pos != ForBound<RangeType::ISSTATIC>::template bound<RangeType::SIZE>(mMax); ++pos){ for(size_t pos = 0u; pos != ForBound<RangeType::ISSTATIC>::template bound<RangeType::SIZE>(mMax); ++pos){