From: bangerth Date: Fri, 25 Aug 2006 17:34:38 +0000 (+0000) Subject: Fixes X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=943e47c2e85460a9afb7273f2bc4ae9bdee7ef7a;p=dealii-svn.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;