From 571af652633708ab1a314f338341d938d7dca08a Mon Sep 17 00:00:00 2001 From: kronbichler Date: Fri, 14 Jun 2013 06:19:20 +0000 Subject: [PATCH] Fix bug. git-svn-id: https://svn.dealii.org/trunk@29818 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/dofs/dof_renumbering.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.39.5