set target step size to 0 for contractions (otherwise map indices in contractions will not work correctly)
This commit is contained in:
parent
3f7cbceec9
commit
bd0485ba95
1 changed files with 1 additions and 1 deletions
|
@ -691,7 +691,7 @@ namespace MultiArrayTools
|
||||||
auto Contraction<T,Op,IndexType>::loop(Expr exp) const
|
auto Contraction<T,Op,IndexType>::loop(Expr exp) const
|
||||||
-> decltype(mInd->iforh(1,mOp.loop(exp)))
|
-> decltype(mInd->iforh(1,mOp.loop(exp)))
|
||||||
{
|
{
|
||||||
return mInd->iforh(1,mOp.loop(exp));
|
return mInd->iforh(0,mOp.loop(exp));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**************************
|
/**************************
|
||||||
|
|
Loading…
Reference in a new issue