aboutsummaryrefslogtreecommitdiff
path: root/src/Storage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Storage.c')
-rw-r--r--src/Storage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Storage.c b/src/Storage.c
index 2970a79..e702a08 100644
--- a/src/Storage.c
+++ b/src/Storage.c
@@ -1720,7 +1720,7 @@ int PUGH_NumTimeLevels(const pGH *pughGH, int var)
int timelevels;
- timelevels = CCTK_NumTimeLevelsFromVarI(var);
+ timelevels = CCTK_MaxTimeLevelsVI(var);
switch(CCTK_GroupTypeFromVarI(var))
{