]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix incorrect constructor call (no conversion of second arg should be performed).
authordeal <deal@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 11 Jul 2003 16:50:37 +0000 (16:50 +0000)
committerdeal <deal@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 11 Jul 2003 16:50:37 +0000 (16:50 +0000)
git-svn-id: https://svn.dealii.org/trunk@7874 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/multigrid/mg_dof_tools.cc

index a44c269283e51924dc401465cd155c0a2ed7269e..a3ba71f313d2160bb080c848c8d6aaf2fb434c20 100644 (file)
@@ -423,7 +423,8 @@ MGTools::reinit_vector (const MGDoFHandler<dim>& mg_dof,
                                             0U);
                             
   std::vector<std::vector<unsigned int> >
-    ndofs(mg_dof.get_tria().n_levels(), target_component.size());
+    ndofs(mg_dof.get_tria().n_levels(),
+         std::vector<unsigned int>(target_component.size()));
 
   count_dofs_per_component (mg_dof, ndofs);
   

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.