Skip to content

Commit

Permalink
removed debug lines
Browse files Browse the repository at this point in the history
  • Loading branch information
sofiemartins committed Apr 30, 2024
1 parent fb5fddb commit 8488e0c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions LibHR/Update/update_mt.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ void init_ghmc(ghmc_par *par) {
/* allocate space for the backup copy of suNg_field */
if (u_gauge_old == NULL) { u_gauge_old = alloc_suNg_field(&glattice); }
copy_suNg_field(u_gauge_old, u_gauge);
printf("plaq gauge: %0.15e\n", avr_plaquette(u_gauge_old));

/* allocate space for the backup copy of the scalar field */
if (u_scalar != NULL) {
Expand Down Expand Up @@ -213,11 +212,7 @@ int update_ghmc() {
}
} else {
lprintf("HMC", 10, "Configuration rejected.\n");
start_sendrecv_suNg_field(u_gauge);
printf("plaq old: %0.15e\n", avr_plaquette(u_gauge_old));
copy_suNg_field(u_gauge, u_gauge_old);
start_sendrecv_suNg_field(u_gauge);
printf("plaq after copy: %0.15e\n", avr_plaquette());
if (u_scalar != NULL) { copy_suNg_scalar_field(u_scalar, u_scalar_old); }
if (four_fermion_active) {
copy_scalar_field(ff_sigma, ff_sigma_old);
Expand Down

0 comments on commit 8488e0c

Please sign in to comment.