Skip to content

Commit

Permalink
bugfix for polyakov/wilson loop measurment
Browse files Browse the repository at this point in the history
  • Loading branch information
rabdomant committed Nov 20, 2024
1 parent 097be61 commit 53c82d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions LibHR/Observables/polyakov.c
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,7 @@ void polyakov() {
sCOORD[3] = COORD[3];
sCOORD[mu] = np[mu] - 1;
{
MPIRET(mpiret)
MPI_Cart_rank(cart_comm, sCOORD, &sCID);
sCID = proc_id(sCOORD);
#ifndef NDEBUG
if (mpiret != MPI_SUCCESS) {
char mesg[MPI_MAX_ERROR_STRING];
Expand Down
2 changes: 1 addition & 1 deletion LibHR/Observables/wilsonloops.c
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ void WL_broadcast_polyakov(suNg *poly, suNg_field *gf) {
sCOORD[1] = COORD[1];
sCOORD[2] = COORD[2];
sCOORD[3] = COORD[3];
MPIRET(mpiret) MPI_Cart_rank(cart_comm, sCOORD, &sCID);
sCID = proc_id(sCOORD);
#ifndef NDEBUG
if (mpiret != MPI_SUCCESS) {
char mesg[MPI_MAX_ERROR_STRING];
Expand Down

0 comments on commit 53c82d0

Please sign in to comment.