From: David Wells Date: Sun, 1 Apr 2018 18:41:47 +0000 (-0400) Subject: Fix an exception type. X-Git-Tag: v9.0.0-rc1~252^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2b086c7c148911ecf48e2c3f1d35225bfd41c78;p=dealii.git Fix an exception type. The documentation of the function states that we should use ExcInterpolationNotImplemented. --- 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())); } }