From: Fabian Castelli Date: Sun, 8 Aug 2021 07:31:37 +0000 (+0200) Subject: Use AssertDimension macro X-Git-Tag: v9.4.0-rc1~1089^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4c5d1392e1e63cfb2a3ba9a48a17bd5901ad933;p=dealii.git Use AssertDimension macro --- diff --git a/include/deal.II/numerics/vector_tools_integrate_difference.templates.h b/include/deal.II/numerics/vector_tools_integrate_difference.templates.h index 55dc0dfb0c..a10aba6eeb 100644 --- a/include/deal.II/numerics/vector_tools_integrate_difference.templates.h +++ b/include/deal.II/numerics/vector_tools_integrate_difference.templates.h @@ -451,8 +451,7 @@ namespace VectorTools const unsigned int n_components = dof.get_fe(0).n_components(); - Assert(exact_solution.n_components == n_components, - ExcDimensionMismatch(exact_solution.n_components, n_components)); + AssertDimension(exact_solution.n_components, n_components); if (weight != nullptr) {