]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fixes
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 25 Aug 2006 17:34:38 +0000 (17:34 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 25 Aug 2006 17:34:38 +0000 (17:34 +0000)
git-svn-id: https://svn.dealii.org/trunk@13749 0785d39b-7218-0410-832d-ea1e28bc413d

tests/fe/deformed_projection.h

index 03e6274d719374d0c6149fc34e180d9282587f5d..605318b79bfc22c008ba996824375bac42114b0c 100644 (file)
@@ -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<double> solution;
-      solution.reinit (dof_handler->n_dofs ());
+      Vector<double> solution(dof_handler->n_dofs ());
 
                                       // Project solution onto FE field
       ConstraintMatrix     hn_constraints;

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.