diff options
-rw-r--r-- | src/Boundary.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Boundary.c b/src/Boundary.c index efe8f51..d5f78a4 100644 --- a/src/Boundary.c +++ b/src/Boundary.c @@ -944,7 +944,7 @@ CCTK_INT Bdry_Boundary_SelectedGVs(CCTK_POINTER_TO_CONST _GH, /* Loop through var list */ for (j=0; /* j counts the bcs to check internal consistency */ i<array_size && current; - current = current->next, ++i) + current = current->next, ++i, ++j) { #ifdef DEBUG |