aboutsummaryrefslogtreecommitdiff
path: root/src/ScalarBoundary.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ScalarBoundary.c')
-rw-r--r--src/ScalarBoundary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ScalarBoundary.c b/src/ScalarBoundary.c
index 88fa8c9..47e8602 100644
--- a/src/ScalarBoundary.c
+++ b/src/ScalarBoundary.c
@@ -93,7 +93,7 @@ int BndScalar(const cGH *GH, int num_vars, int *vars, int *faces, int *tables)
int dir; /* direction in which to apply bc */
CCTK_REAL scalar;
- retval = 0; stencil_alldirs = NULL;
+ retval = 0; stencil_alldirs = NULL; max_gdim = 0;
/* loop through variables, j at a time */
for (i=0; i<num_vars; i+=j) {