From f2b086c7c148911ecf48e2c3f1d35225bfd41c78 Mon Sep 17 00:00:00 2001 From: David Wells Date: Sun, 1 Apr 2018 14:41:47 -0400 Subject: [PATCH] Fix an exception type. The documentation of the function states that we should use ExcInterpolationNotImplemented. --- source/fe/fe_system.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/fe/fe_system.cc b/source/fe/fe_system.cc index 076464baa7..ca306f75f2 100644 --- a/source/fe/fe_system.cc +++ b/source/fe/fe_system.cc @@ -1958,7 +1958,9 @@ get_subface_interpolation_matrix (const FiniteElement &x_source_fe } else { - Assert(fe_other_system != nullptr, ExcInternalError()); + // we should have caught this at the start, but check again anyway + Assert(fe_other_system != nullptr, (typename FiniteElement:: + ExcInterpolationNotImplemented())); } } -- 2.39.5