From: deal Date: Fri, 11 Jul 2003 16:50:37 +0000 (+0000) Subject: Fix incorrect constructor call (no conversion of second arg should be performed). X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5a93e117557e761704d5bad80491436bed60474;p=dealii-svn.git Fix incorrect constructor call (no conversion of second arg should be performed). git-svn-id: https://svn.dealii.org/trunk@7874 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/multigrid/mg_dof_tools.cc b/deal.II/deal.II/source/multigrid/mg_dof_tools.cc index a44c269283..a3ba71f313 100644 --- a/deal.II/deal.II/source/multigrid/mg_dof_tools.cc +++ b/deal.II/deal.II/source/multigrid/mg_dof_tools.cc @@ -423,7 +423,8 @@ MGTools::reinit_vector (const MGDoFHandler& mg_dof, 0U); std::vector > - ndofs(mg_dof.get_tria().n_levels(), target_component.size()); + ndofs(mg_dof.get_tria().n_levels(), + std::vector(target_component.size())); count_dofs_per_component (mg_dof, ndofs);