aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/RecoverVar.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/RecoverVar.c b/src/RecoverVar.c
index fd22452..5771ca5 100644
--- a/src/RecoverVar.c
+++ b/src/RecoverVar.c
@@ -801,13 +801,11 @@ static herr_t processDataset (hid_t group, const char *datasetname, void *arg)
{
CCTK_VWarn (1, __LINE__, __FILE__, CCTK_THORNSTRING,
"Unsupported variable datatype %d", vtype);
- retval = 1;
}
else if (gtype != CCTK_SCALAR && gtype != CCTK_GF && gtype != CCTK_ARRAY)
{
CCTK_VWarn (1, __LINE__, __FILE__, CCTK_THORNSTRING,
"Unsupported group type %d", gtype);
- retval = 1;
}
else
{
@@ -824,6 +822,7 @@ static herr_t processDataset (hid_t group, const char *datasetname, void *arg)
/* increment counter for total number of recovered variables */
it_info->num_recovered++;
}
+ retval = 1;
}
}