From aa0dfe00a8673ab6c69c9d59cd1bac0b53049593 Mon Sep 17 00:00:00 2001 From: James McClure Date: Thu, 5 Jun 2014 18:47:30 -0400 Subject: [PATCH] fixed little bug --- tests/lb2_Color_wia_mpi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lb2_Color_wia_mpi.cpp b/tests/lb2_Color_wia_mpi.cpp index 6231bb91..ed3abd2c 100644 --- a/tests/lb2_Color_wia_mpi.cpp +++ b/tests/lb2_Color_wia_mpi.cpp @@ -2399,7 +2399,7 @@ int main(int argc, char **argv) if (timestep%RESTART_INTERVAL == 0){ if (pBC){ err = fabs(sat_w - sat_w_previous); - sat_w_prev = sat_w; + sat_w_previous = sat_w; if (rank==0) printf("Timestep %i: change in saturation since last checkpoint is %f \n", timestep, err); } else{