summaryrefslogtreecommitdiff
path: root/src/comm/CactusDefaultComm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/comm/CactusDefaultComm.c')
-rw-r--r--src/comm/CactusDefaultComm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comm/CactusDefaultComm.c b/src/comm/CactusDefaultComm.c
index 0c9ad53d..781d4a49 100644
--- a/src/comm/CactusDefaultComm.c
+++ b/src/comm/CactusDefaultComm.c
@@ -113,7 +113,7 @@ cGH *CactusDefaultSetupGH(tFleshConfig *config, int convergence_level)
{
for(variable = 0; variable < n_variables; variable++)
{
- ntimelevels = CCTK_GetNumTimeLevels(variable);
+ ntimelevels = CCTK_GetNumTimeLevels_ByIndex(variable);
thisGH->data[variable] = (void **)malloc(ntimelevels*sizeof(void *));
if(thisGH->data[variable])