From: Andreas Ritthaler Date: Wed, 18 Sep 2024 07:01:08 +0000 (+0200) Subject: fix failing test X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F17709%2Fhead;p=dealii.git fix failing test --- diff --git a/tests/matrix_free/matrix_vector_normal_hessians.cc b/tests/matrix_free/matrix_vector_normal_hessians.cc index adc4d4db6c..f17a48f89b 100644 --- a/tests/matrix_free/matrix_vector_normal_hessians.cc +++ b/tests/matrix_free/matrix_vector_normal_hessians.cc @@ -76,7 +76,12 @@ test_hessians(const unsigned int degree, AffineConstraints constraints; DoFTools::make_hanging_node_constraints(dof_handler, constraints); VectorTools::interpolate_boundary_values( - mapping, dof_handler, 0, Functions::ZeroFunction(), constraints); + mapping, + dof_handler, + 0, + Functions::ZeroFunction( + dof_handler.get_fe_collection().n_components()), + constraints); constraints.close(); // FEFaceEvaluation