aboutsummaryrefslogtreecommitdiff
path: root/src/Startup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Startup.c')
-rw-r--r--src/Startup.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Startup.c b/src/Startup.c
index e8b4609..ba284e0 100644
--- a/src/Startup.c
+++ b/src/Startup.c
@@ -186,7 +186,6 @@ static void *SetupGH (tFleshConfig *config, int convergence_level, cGH *GH)
/* avoid compiler warnings about unused parameters */
- config = config;
convergence_level = convergence_level;
myproc = CCTK_MyProc (GH);
@@ -301,8 +300,8 @@ static void *SetupGH (tFleshConfig *config, int convergence_level, cGH *GH)
newGH->out_single = out3D_single;
#endif
- /* reset the flag incidicating restart from recovery */
- newGH->recovered = 0;
+ /* copy the 'recovered' flag to this GH extension */
+ newGH->recovered = config->recovered;
/* reset the flags array for the file reader */
newGH->do_inVars = NULL;