From 6f3842041eb25dc371197e37972fa6eef1d1ef72 Mon Sep 17 00:00:00 2001 From: heister Date: Mon, 27 May 2013 12:40:22 +0000 Subject: [PATCH] fill new copy_indices correctly git-svn-id: https://svn.dealii.org/trunk@29642 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/multigrid/mg_transfer_prebuilt.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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])); } -- 2.39.5