From b6646641149cff6eb1b33cbb8d5be4bc3ddfbe39 Mon Sep 17 00:00:00 2001 From: wolf Date: Wed, 16 Oct 2002 15:48:09 +0000 Subject: [PATCH] Fix bug. git-svn-id: https://svn.dealii.org/trunk@6663 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/source/sparse_direct.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deal.II/lac/source/sparse_direct.cc b/deal.II/lac/source/sparse_direct.cc index f1ea98c713..afffe81efa 100644 --- a/deal.II/lac/source/sparse_direct.cc +++ b/deal.II/lac/source/sparse_direct.cc @@ -311,7 +311,8 @@ namespace CommunicationsLog list_access_lock.acquire (); for (std::list::iterator i=communication_log.begin(); i!=communication_log.end(); ++i) - communication_log.erase (i); + if (i->child_pid == child_pid) + communication_log.erase (i); list_access_lock.release (); }; }; -- 2.39.5