From 943e47c2e85460a9afb7273f2bc4ae9bdee7ef7a Mon Sep 17 00:00:00 2001 From: bangerth Date: Fri, 25 Aug 2006 17:34:38 +0000 Subject: [PATCH] Fixes git-svn-id: https://svn.dealii.org/trunk@13749 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/fe/deformed_projection.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/fe/deformed_projection.h b/tests/fe/deformed_projection.h index 03e6274d71..605318b79b 100644 --- a/tests/fe/deformed_projection.h +++ b/tests/fe/deformed_projection.h @@ -677,8 +677,6 @@ int plot_shapes (DoFHandler<2> &dof_handler) solution (dof) = 0.0; } - - return (0); } @@ -715,8 +713,7 @@ void check (const FiniteElement<2> &fe) deallog << "Dofs total " << dof_handler->n_dofs () << std::endl; // Alloc some DoFs - Vector solution; - solution.reinit (dof_handler->n_dofs ()); + Vector solution(dof_handler->n_dofs ()); // Project solution onto FE field ConstraintMatrix hn_constraints; -- 2.39.5