aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Hinder <ian.hinder@aei.mpg.de>2013-04-15 15:48:29 +0200
committerIan Hinder <ian.hinder@aei.mpg.de>2013-04-15 15:48:29 +0200
commit4987875d862b499f080cb4dc66f7d26c90cd52a8 (patch)
treebfd8a6e954894d07605f72a80b09ccc8c38d16c0
parent118328bd10f592d82023deb27eac9ffe77aa75b2 (diff)
SetGroupTags.c: Ignore error if Prolongation table entry is already present
Kranc now sets this in interface.ccl
-rw-r--r--m/prototype/ML_BSSN_Helper/src/SetGroupTags.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/m/prototype/ML_BSSN_Helper/src/SetGroupTags.c b/m/prototype/ML_BSSN_Helper/src/SetGroupTags.c
index c85b0b7..661bd72 100644
--- a/m/prototype/ML_BSSN_Helper/src/SetGroupTags.c
+++ b/m/prototype/ML_BSSN_Helper/src/SetGroupTags.c
@@ -80,6 +80,6 @@ set_group_tags (int const checkpoint,
int const iret = Util_TableDeleteKey (table, "ProlongationParameter");
assert (iret == 0 || iret == UTIL_ERROR_TABLE_NO_SUCH_KEY);
int const ierr = Util_TableSetString (table, "none", "Prolongation");
- assert (! ierr);
+ assert (ierr == 0 || ierr == 1); /* 0 means key did not exist before. 1 means key existed before and has now been reset */
}
}