aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/gh.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CarpetLib/src/gh.cc')
-rw-r--r--Carpet/CarpetLib/src/gh.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/src/gh.cc b/Carpet/CarpetLib/src/gh.cc
index 5c13d0b6a..a82d66a09 100644
--- a/Carpet/CarpetLib/src/gh.cc
+++ b/Carpet/CarpetLib/src/gh.cc
@@ -77,6 +77,8 @@ gh (vector<ivect> const & reffacts_, centering const refcent_,
gh::
~gh ()
{
+ assert (dhs.empty());
+ assert (ths.empty());
allgh.erase (this);
}