diff --git a/src/multi_array_operation.h b/src/multi_array_operation.h index 88a7b79..75c65a9 100644 --- a/src/multi_array_operation.h +++ b/src/multi_array_operation.h @@ -469,7 +469,8 @@ namespace MultiArrayTools template MExt ConstOperationRoot::rootSteps(std::intptr_t iPtrNum) const { - return MExt(getStepSize( getRootIndices( mIndex->info() ), iPtrNum )); + return MExt(getStepSize( mIndex->info(), iPtrNum )); + //return MExt(getStepSize( getRootIndices( mIndex->info() ), iPtrNum )); } @@ -520,7 +521,8 @@ namespace MultiArrayTools template MExt OperationRoot::rootSteps(std::intptr_t iPtrNum) const { - return MExt(getStepSize( getRootIndices( mIndex->info() ), iPtrNum )); + return MExt(getStepSize( mIndex->info(), iPtrNum )); + //return MExt(getStepSize( getRootIndices( mIndex->info() ), iPtrNum )); } template @@ -542,7 +544,7 @@ namespace MultiArrayTools template inline T Operation::get(ET pos) const { - typedef std::tuple OpTuple; + typedef std::tuple OpTuple; return PackNum:: template mkOpExpr(pos, mOps); } diff --git a/src/pack_num.h b/src/pack_num.h index 9bf257b..d6510eb 100644 --- a/src/pack_num.h +++ b/src/pack_num.h @@ -13,14 +13,7 @@ namespace MultiArrayHelper { - - template