From: kronbichler Date: Fri, 14 Jun 2013 06:19:20 +0000 (+0000) Subject: Fix bug. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=571af652633708ab1a314f338341d938d7dca08a;p=dealii-svn.git Fix bug. git-svn-id: https://svn.dealii.org/trunk@29818 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/dofs/dof_renumbering.cc b/deal.II/source/dofs/dof_renumbering.cc index 0d0410bdb6..b81ce30bfb 100644 --- a/deal.II/source/dofs/dof_renumbering.cc +++ b/deal.II/source/dofs/dof_renumbering.cc @@ -442,8 +442,8 @@ namespace DoFRenumbering SparsityPattern sparsity; if (DH::dimension < 2) { - sparsity.reinit (dof_handler.n_dofs(), - dof_handler.n_dofs(), + sparsity.reinit (dof_handler.n_dofs(level), + dof_handler.n_dofs(level), dof_handler.max_couplings_between_dofs()); MGTools::make_sparsity_pattern (dof_handler, sparsity, level); sparsity.compress();