From d58343884f57f333d9e37c85ad69c71fdebe95f9 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 11 Oct 2023 10:09:54 -0600 Subject: [PATCH] Demote an assertion from AssertThrow to Assert. --- source/particles/property_pool.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/source/particles/property_pool.cc b/source/particles/property_pool.cc index 5abbd31307..8d9fd19c45 100644 --- a/source/particles/property_pool.cc +++ b/source/particles/property_pool.cc @@ -53,13 +53,13 @@ namespace Particles const unsigned int n_open_handles = properties.size() / n_properties - currently_available_handles.size(); (void)n_open_handles; - AssertThrow(n_open_handles == 0, - ExcMessage("This property pool currently still holds " + - std::to_string(n_open_handles) + - " open handles to memory that was allocated " - "via allocate_properties_array() but that has " - "not been returned via " - "deregister_particle().")); + Assert(n_open_handles == 0, + ExcMessage("This property pool currently still holds " + + std::to_string(n_open_handles) + + " open handles to memory that was allocated " + "via allocate_properties_array() but that has " + "not been returned via " + "deregister_particle().")); } // Clear vectors and ensure deallocation of memory -- 2.39.5