From 683bf57eb2e24cf201877d2aeefe92c4f0e23516 Mon Sep 17 00:00:00 2001 From: Timo 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