From: Wolfgang Bangerth Date: Wed, 16 Oct 2002 15:48:09 +0000 (+0000) Subject: Fix bug. X-Git-Tag: v8.0.0~17322 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e621e57632869aee75b81832e6737eea57dc6876;p=dealii.git Fix bug. git-svn-id: https://svn.dealii.org/trunk@6663 0785d39b-7218-0410-832d-ea1e28bc413d --- 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 (); }; };