ENH: use returnReduceAnd(), returnReduceOr() functions

This commit is contained in:
Mark Olesen
2022-08-24 12:00:44 +02:00
parent 8071f2f94b
commit 124702190b
167 changed files with 563 additions and 829 deletions

View File

@ -1171,7 +1171,7 @@ bool Foam::functionObjectList::read()
FatalIOError.throwing(oldThrowingIOerr);
// Require valid functionObject on all processors
if (!returnReduce(bool(objPtr), andOp<bool>()))
if (!returnReduceAnd(bool(objPtr)))
{
objPtr.reset(nullptr);
ok = false;