From: wolf Date: Thu, 12 Apr 2001 07:22:34 +0000 (+0000) Subject: Fix bug (1.31->1.32). X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4780137246f629aa5d92e3719d2069c708c90721;p=dealii-svn.git Fix bug (1.31->1.32). git-svn-id: https://svn.dealii.org/branches/Branch-3-1@4447 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/dofs/dof_renumbering.cc b/deal.II/deal.II/source/dofs/dof_renumbering.cc index f97530e11d..992cc8040c 100644 --- a/deal.II/deal.II/source/dofs/dof_renumbering.cc +++ b/deal.II/deal.II/source/dofs/dof_renumbering.cc @@ -248,8 +248,9 @@ void DoFRenumbering::Cuthill_McKee (DoFHandler &dof_handler #endif if (reversed_numbering) - for (std::vector::iterator i=new_number.begin(); i!=new_number.end(); ++i) - *i = n_dofs-*i; + for (std::vector::iterator i=new_number.begin(); + i!=new_number.end(); ++i) + *i = n_dofs-*i-1; // actually perform renumbering; // this is dimension specific and