aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetReduce
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CarpetReduce')
-rw-r--r--Carpet/CarpetReduce/src/mask_allocate.c8
-rw-r--r--Carpet/CarpetReduce/src/mask_test.c6
2 files changed, 4 insertions, 10 deletions
diff --git a/Carpet/CarpetReduce/src/mask_allocate.c b/Carpet/CarpetReduce/src/mask_allocate.c
index 24029942d..1219b7b95 100644
--- a/Carpet/CarpetReduce/src/mask_allocate.c
+++ b/Carpet/CarpetReduce/src/mask_allocate.c
@@ -2,8 +2,6 @@
#include <cctk_Arguments.h>
#include <cctk_Parameters.h>
-#include <assert.h>
-
void
@@ -17,8 +15,6 @@ MaskBase_AllocateMask (CCTK_ARGUMENTS)
CCTK_INFO ("Allocating weight function helpers");
}
- int const ierr1 = CCTK_EnableGroupStorage (cctkGH, "CarpetReduce::iweight");
- int const ierr2 = CCTK_EnableGroupStorage (cctkGH, "CarpetReduce::one");
- assert (!ierr1);
- assert (!ierr2);
+ CCTK_EnableGroupStorage (cctkGH, "CarpetReduce::iweight");
+ CCTK_EnableGroupStorage (cctkGH, "CarpetReduce::one");
}
diff --git a/Carpet/CarpetReduce/src/mask_test.c b/Carpet/CarpetReduce/src/mask_test.c
index cbf57b3b3..a350d4cdb 100644
--- a/Carpet/CarpetReduce/src/mask_test.c
+++ b/Carpet/CarpetReduce/src/mask_test.c
@@ -88,8 +88,6 @@ MaskBase_TestMask (CCTK_ARGUMENTS)
- int const iret1 = CCTK_DisableGroupStorage (cctkGH, "CarpetReduce::iweight");
- int const iret2 = CCTK_DisableGroupStorage (cctkGH, "CarpetReduce::one");
- assert (iret1==1);
- assert (iret2==1);
+ CCTK_DisableGroupStorage (cctkGH, "CarpetReduce::iweight");
+ CCTK_DisableGroupStorage (cctkGH, "CarpetReduce::one");
}