]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix bug.
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Fri, 14 Jun 2013 06:19:20 +0000 (06:19 +0000)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Fri, 14 Jun 2013 06:19:20 +0000 (06:19 +0000)
git-svn-id: https://svn.dealii.org/trunk@29818 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/dofs/dof_renumbering.cc

index 0d0410bdb60eb9c6a24922d7f9d84001dfc8d084..b81ce30bfbfea0f2a2262688084da7f41decd996 100644 (file)
@@ -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();

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.