some fixes, compiles again

This commit is contained in:
Christian Zimmermann 2018-01-07 16:57:01 +01:00
parent 728f36f538
commit 85f221f5e1
3 changed files with 4 additions and 4 deletions

View file

@ -382,8 +382,8 @@ namespace MultiArrayTools
template <typename T, class OpClass, class... Ranges>
void OperationMaster<T,OpClass,Ranges...>::performAssignment(std::intptr_t blockIndexNum)
{
static auto loop = mkLoop(mIndex, *this, mSecond);
loop();
//static auto loop = mkLoop(mIndex, *this, mSecond);
//loop();
for(*mIndex = 0; mIndex->pos() != mIndex->max(); mIndex->pp(blockIndexNum) ){
block();

View file

@ -76,7 +76,7 @@ namespace MultiArrayTools
// CHECK / IMPLEMENT !!!!!!
template <class Expr, typename... Args>
auto ifor(const Args&... args) const -> decltype(THIS().template ifor<Expr>(args...))
{ return THIS().template ifor<Expr>(args...) }
{ return THIS().template ifor<Expr>(args...); }
private:

View file

@ -26,7 +26,7 @@ namespace MultiArrayHelper
std::shared_ptr<IndexClass> mIndPtr;
Expr mExpr;
}
};
} // namespace MultiArrayHelper