set target step size to 0 for contractions (otherwise map indices in contractions will not work correctly)

This commit is contained in:
Christian Zimmermann 2019-04-05 20:20:39 +02:00
parent 3f7cbceec9
commit bd0485ba95

View file

@ -691,7 +691,7 @@ namespace MultiArrayTools
auto Contraction<T,Op,IndexType>::loop(Expr exp) const
-> decltype(mInd->iforh(1,mOp.loop(exp)))
{
return mInd->iforh(1,mOp.loop(exp));
return mInd->iforh(0,mOp.loop(exp));
}
/**************************