From c4c5d1392e1e63cfb2a3ba9a48a17bd5901ad933 Mon Sep 17 00:00:00 2001 From: Fabian Castelli Date: Sun, 8 Aug 2021 09:31:37 +0200 Subject: [PATCH] Use AssertDimension macro --- .../numerics/vector_tools_integrate_difference.templates.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) { -- 2.39.5