Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86734 - trunk/boost/mpi
From: troyer_at_[hidden]
Date: 2013-11-17 05:46:25


Author: troyer
Date: 2013-11-17 05:46:25 EST (Sun, 17 Nov 2013)
New Revision: 86734
URL: http://svn.boost.org/trac/boost/changeset/86734

Log:
Fixed #9401

Text files modified:
   trunk/boost/mpi/nonblocking.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/boost/mpi/nonblocking.hpp
==============================================================================
--- trunk/boost/mpi/nonblocking.hpp Sat Nov 16 21:18:42 2013 (r86733)
+++ trunk/boost/mpi/nonblocking.hpp 2013-11-17 05:46:25 EST (Sun, 17 Nov 2013) (r86734)
@@ -60,9 +60,9 @@
   while (true) {
     // Check if we have found a completed request. If so, return it.
     if (current->m_requests[0] != MPI_REQUEST_NULL &&
- current->m_requests[1] != MPI_REQUEST_NULL &&
- optional<status> result = current->test())
- return std::make_pair(*result, current);
+ current->m_requests[1] != MPI_REQUEST_NULL)
+ if (optional<status> result = current->test())
+ return std::make_pair(*result, current);
 
     // Check if this request (and all others before it) are "trivial"
     // requests, e.g., they can be represented with a single


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk