Skip to content

Commit

Permalink
Correction in checkpointing
Browse files Browse the repository at this point in the history
  • Loading branch information
everthemore authored Sep 19, 2018
1 parent 00a9c56 commit b1f122f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ int main(int argc, char **argv) {
Psit = krylov_propagate(H, Psit, dt, m);

// Checkpoint the wavefunction
if (i % checkpoint_every) {
if (i % checkpoint_every == 0) {
std::ofstream wfoutfile;
wfoutfile.open(wf_filename);
wfoutfile << Psit << std::endl;
Expand Down

0 comments on commit b1f122f

Please sign in to comment.