From: wolf Date: Wed, 16 Oct 2002 15:48:09 +0000 (+0000) Subject: Fix bug. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6646641149cff6eb1b33cbb8d5be4bc3ddfbe39;p=dealii-svn.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 (); }; };