From: Timo Heister Date: Mon, 27 May 2013 12:40:22 +0000 (+0000) Subject: fill new copy_indices correctly X-Git-Tag: v8.0.0~395 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=683bf57eb2e24cf201877d2aeefe92c4f0e23516;p=dealii.git fill new copy_indices correctly git-svn-id: https://svn.dealii.org/trunk@29642 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/multigrid/mg_transfer_prebuilt.cc b/deal.II/source/multigrid/mg_transfer_prebuilt.cc index 974a082b30..31e5ac4837 100644 --- a/deal.II/source/multigrid/mg_transfer_prebuilt.cc +++ b/deal.II/source/multigrid/mg_transfer_prebuilt.cc @@ -290,10 +290,10 @@ void MGTransferPrebuilt::build_matrices ( if (global_mine && level_mine) copy_indices[level].push_back( std::pair (global_dof_indices[i], level_dof_indices[i])); - else if (!global_mine) + else if (level_mine) copy_indices_from_me[level].push_back( std::pair (global_dof_indices[i], level_dof_indices[i])); - else + else if (global_mine) copy_indices_to_me[level].push_back( std::pair (global_dof_indices[i], level_dof_indices[i])); }