From: Fabian Castelli <50630942+gfcas@users.noreply.github.com> Date: Tue, 10 Aug 2021 12:43:22 +0000 (+0200) Subject: Update include/deal.II/numerics/vector_tools_interpolate.templates.h X-Git-Tag: v9.4.0-rc1~1092^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6b49e63aeede6c659ad09243a87439bbd76df16;p=dealii.git Update include/deal.II/numerics/vector_tools_interpolate.templates.h Co-authored-by: David Wells --- diff --git a/include/deal.II/numerics/vector_tools_interpolate.templates.h b/include/deal.II/numerics/vector_tools_interpolate.templates.h index 1e73644af2..6a42a91887 100644 --- a/include/deal.II/numerics/vector_tools_interpolate.templates.h +++ b/include/deal.II/numerics/vector_tools_interpolate.templates.h @@ -360,7 +360,7 @@ namespace VectorTools dof_values.resize(n_dofs); // Get all function values: - Assert(n_components, function(cell)->n_components); + AssertDimension(n_components, function(cell)->n_components); function(cell)->vector_value_list(generalized_support_points, function_values);