Skip to content

Commit

Permalink
minvcg: pass through isign
Browse files Browse the repository at this point in the history
  • Loading branch information
kostrzewa committed Jul 10, 2017
1 parent d1823e9 commit ad53163
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/qphix/minvcg.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ class MInvCG : public AbstractMultiSolver<FT, veclen, soalen, compress12>
}
#endif

M(mp, p_0, +1, cb);
M(mp, p_0, +isign, cb);

#ifdef DEBUG_MINVCG
{
Expand All @@ -170,7 +170,7 @@ class MInvCG : public AbstractMultiSolver<FT, veclen, soalen, compress12>
}
#endif

M(mmp, mp, -1, cb);
M(mmp, mp, -isign, cb);

#ifdef DEBUG_MINVCG
{
Expand Down Expand Up @@ -274,8 +274,8 @@ class MInvCG : public AbstractMultiSolver<FT, veclen, soalen, compress12>
cp = c;
bp = b;

M(mp, p_0, +1, cb);
M(mmp, mp, -1, cb);
M(mp, p_0, +isign, cb);
M(mmp, mp, -isign, cb);
mv_apps += 2;

// d = norm2(Mp) = < M p | M p > = <p | M^\dagger M p>
Expand Down

0 comments on commit ad53163

Please sign in to comment.