Skip to content

Commit

Permalink
Fix a bug of stacking davidson iterations
Browse files Browse the repository at this point in the history
  • Loading branch information
shengg committed Jan 31, 2017
1 parent c3720c3 commit 4c28bf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linear.C
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ void SpinAdapted::Linear::block_davidson(vector<StackWavefunction>& b, DiagonalM
int sigmasize=0, bsize= currentRoot == -1 ? dmrginp.nroots() : 1;
int converged_roots = 0;
int maxiter = h_diag.Ncols() - lowerStates.size();
while(true)
while(true && iter < 100)
{
//p3out << "\t\t\t Davidson Iteration :: " << iter << endl;

Expand Down

0 comments on commit 4c28bf1

Please sign in to comment.