From 034afbe7e7109651b6156992a06a0379988c0ad4 Mon Sep 17 00:00:00 2001
From: Henry Weller <http://cfd.direct>
Date: Tue, 6 Jun 2017 10:18:02 +0100
Subject: [PATCH] pimpleControl: Corrected handling of finalInnerIter()

---
 .../general/solutionControl/pimpleControl/pimpleControlI.H     | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/finiteVolume/cfdTools/general/solutionControl/pimpleControl/pimpleControlI.H b/src/finiteVolume/cfdTools/general/solutionControl/pimpleControl/pimpleControlI.H
index deed2958c0..268655c3d9 100644
--- a/src/finiteVolume/cfdTools/general/solutionControl/pimpleControl/pimpleControlI.H
+++ b/src/finiteVolume/cfdTools/general/solutionControl/pimpleControl/pimpleControlI.H
@@ -92,8 +92,7 @@ inline bool Foam::pimpleControl::finalIter() const
 inline bool Foam::pimpleControl::finalInnerIter() const
 {
     return
-       finalIter()
-    && corrPISO_ == nCorrPISO_
+       corrPISO_ == nCorrPISO_
     && corrNonOrtho_ == nNonOrthCorr_ + 1;
 }
 
-- 
GitLab