From 1d68052c795d0acae54e64cb1f368d18bb33f154 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Mon, 23 Apr 2018 15:58:18 +0200 Subject: [PATCH] Check dynamic_cast in TimeDependent --- source/numerics/time_dependent.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/numerics/time_dependent.cc b/source/numerics/time_dependent.cc index a38be61106..05ecc8a58c 100644 --- a/source/numerics/time_dependent.cc +++ b/source/numerics/time_dependent.cc @@ -1074,7 +1074,7 @@ void TimeStepBase_Tria::refine_grid (const RefinementData refinement_data) { Triangulation *previous_tria = dynamic_cast*>(previous_timestep)->tria; - + Assert(previous_tria != nullptr, ExcInternalError()); // if we used the dual estimator, we // computed the error information on -- 2.39.5