From c08a8c97a07545e03dd4727fe9cdcfd34f8b2ea4 Mon Sep 17 00:00:00 2001 From: Henry Date: Thu, 26 Mar 2015 17:23:02 +0000 Subject: [PATCH] mpi/UPstream:: Correct debug Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1637 --- src/Pstream/mpi/UPstream.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Pstream/mpi/UPstream.C b/src/Pstream/mpi/UPstream.C index 610c6fa9..42779592 100644 --- a/src/Pstream/mpi/UPstream.C +++ b/src/Pstream/mpi/UPstream.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -281,7 +281,7 @@ void Foam::reduce requestID = PstreamGlobals::outstandingRequests_.size(); PstreamGlobals::outstandingRequests_.append(request); - if (debug) + if (UPstream::debug) { Pout<< "UPstream::allocateRequest for non-blocking reduce" << " : request:" << requestID