From: Wolfgang Bangerth Date: Fri, 25 Aug 2006 17:34:38 +0000 (+0000) Subject: Fixes X-Git-Tag: v8.0.0~11223 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae8474cc5ca89bee5fb412366a5ecb0f8ccb8cbc;p=dealii.git Fixes git-svn-id: https://svn.dealii.org/trunk@13749 0785d39b-7218-0410-832d-ea1e28bc413d --- 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;