From 7d2a890bfd9323819bdd7793d848e09f0b08260b Mon Sep 17 00:00:00 2001
From: andy <andy>
Date: Wed, 26 Sep 2012 14:52:27 +0100
Subject: [PATCH] BUG: Corrected solution control construction from IOobject

---
 .../general/solutionControl/solutionControl/solutionControl.C | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/finiteVolume/cfdTools/general/solutionControl/solutionControl/solutionControl.C b/src/finiteVolume/cfdTools/general/solutionControl/solutionControl/solutionControl.C
index 601b564c6d6..8448153a696 100644
--- a/src/finiteVolume/cfdTools/general/solutionControl/solutionControl/solutionControl.C
+++ b/src/finiteVolume/cfdTools/general/solutionControl/solutionControl/solutionControl.C
@@ -168,8 +168,8 @@ Foam::solutionControl::solutionControl(fvMesh& mesh, const word& algorithmName)
     IOobject
     (
         "solutionControl",
-        mesh_.time().timeName(),
-        mesh_
+        mesh.time().timeName(),
+        mesh
     ),
     mesh_(mesh),
     residualControl_(),
-- 
GitLab