Skip to content

Commit

Permalink
fixed bug in setting eig_param.use_poly_acc
Browse files Browse the repository at this point in the history
  • Loading branch information
aniketsen committed Jun 28, 2023
1 parent 8bbabe6 commit 721f3ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quda_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -2697,7 +2697,7 @@ double eigsolveQuda(int n, double tol, int blksize, int blkwise, int max_iterati
// at a relatively coarse lattice spacing for the eigenvalues
// of the twisted-clover ND operator with values of musigma / mudelta
// reproducing physical sea strange and charm quark masses
eig_param.use_poly_acc = (maxmin == 1) && (polydeg != 0) ? QUDA_BOOLEAN_FALSE : QUDA_BOOLEAN_TRUE;
eig_param.use_poly_acc = (maxmin == 1) || (polydeg == 0) ? QUDA_BOOLEAN_FALSE : QUDA_BOOLEAN_TRUE;
eig_param.poly_deg = polydeg;
eig_param.a_min = amin;
eig_param.a_max = amax;
Expand Down

0 comments on commit 721f3ba

Please sign in to comment.