From ea064d9cb00182dec984dfadd6039ce7834d1929 Mon Sep 17 00:00:00 2001
From: Henry <Henry>
Date: Tue, 5 Nov 2013 17:32:26 +0000
Subject: [PATCH] pimpleControl: Corrected bug introduced on last change

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

diff --git a/src/finiteVolume/cfdTools/general/solutionControl/pimpleControl/pimpleControlI.H b/src/finiteVolume/cfdTools/general/solutionControl/pimpleControl/pimpleControlI.H
index 8ac86bdfa88..2a777908b82 100644
--- a/src/finiteVolume/cfdTools/general/solutionControl/pimpleControl/pimpleControlI.H
+++ b/src/finiteVolume/cfdTools/general/solutionControl/pimpleControl/pimpleControlI.H
@@ -79,7 +79,7 @@ inline bool Foam::pimpleControl::firstIter() const
 
 inline bool Foam::pimpleControl::finalIter() const
 {
-    return converged_ || (corr_ == corrPISO_);
+    return converged_ || (corr_ == nCorrPIMPLE_);
 }
 
 
-- 
GitLab