aboutsummaryrefslogtreecommitdiff
path: root/src/StaticBoundary.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/StaticBoundary.c')
-rw-r--r--src/StaticBoundary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StaticBoundary.c b/src/StaticBoundary.c
index ecc72d5..f3b1c2a 100644
--- a/src/StaticBoundary.c
+++ b/src/StaticBoundary.c
@@ -940,7 +940,7 @@ static int ApplyBndStatic (const cGH *GH,
SymmetryGHex *sGHex;
/* Only apply boundary condition if more than one timelevel */
- if (CCTK_NumTimeLevelsFromVarI(first_var) == 1)
+ if (CCTK_MaxTimeLevelsVI(first_var) == 1)
{
return (-4);
}