Skip to content

Commit

Permalink
When a reversibility check is performed, write the correct trajectory…
Browse files Browse the repository at this point in the history
… metadata into the configuration. Up to now this was set to -1 for some reason.
  • Loading branch information
kostrzewa committed Apr 21, 2016
1 parent f39e753 commit ea81285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update_tm.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ int update_tm(double *plaquette_energy, double *rectangle_energy,
}
if(accept) {
/* save gauge file to disk before performing reversibility check */
xlfInfo = construct_paramsXlfInfo((*plaquette_energy)/(6.*VOLUME*g_nproc), -1);
xlfInfo = construct_paramsXlfInfo((*plaquette_energy)/(6.*VOLUME*g_nproc), traj_counter);
// Should write this to temporary file first, and then check
if(g_proc_id == 0 && g_debug_level > 0) {
fprintf(stdout, "# Writing gauge field to file %s.\n", tmp_filename);
Expand Down

0 comments on commit ea81285

Please sign in to comment.