From 4987875d862b499f080cb4dc66f7d26c90cd52a8 Mon Sep 17 00:00:00 2001 From: Ian Hinder Date: Mon, 15 Apr 2013 15:48:29 +0200 Subject: SetGroupTags.c: Ignore error if Prolongation table entry is already present Kranc now sets this in interface.ccl --- m/prototype/ML_BSSN_Helper/src/SetGroupTags.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ } } -- cgit v1.2.3