]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix failing test 17709/head
authorAndreas Ritthaler <andreas.ritthaler@tum.de>
Wed, 18 Sep 2024 07:01:08 +0000 (09:01 +0200)
committerAndreas Ritthaler <andreas.ritthaler@tum.de>
Wed, 18 Sep 2024 07:01:08 +0000 (09:01 +0200)
tests/matrix_free/matrix_vector_normal_hessians.cc

index adc4d4db6c7cfdca4ee80a1a251814a48fe2c864..f17a48f89bed8a0749c7f10535fe91de573d513e 100644 (file)
@@ -76,7 +76,12 @@ test_hessians(const unsigned int                             degree,
   AffineConstraints<double> constraints;
   DoFTools::make_hanging_node_constraints(dof_handler, constraints);
   VectorTools::interpolate_boundary_values(
-    mapping, dof_handler, 0, Functions::ZeroFunction<dim>(), constraints);
+    mapping,
+    dof_handler,
+    0,
+    Functions::ZeroFunction<dim>(
+      dof_handler.get_fe_collection().n_components()),
+    constraints);
   constraints.close();
 
   // FEFaceEvaluation

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.