From 0c886b5a93f874adef7dd2d646f7677fef709eae Mon Sep 17 00:00:00 2001 From: Vanja Skuric Date: Tue, 22 Nov 2016 22:43:33 +0100 Subject: [PATCH] Fixed bug: Segmentation fault when criteriaSatisfied() in simpleControl --- .../general/solutionControl/simpleControl/simpleControl.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/finiteVolume/cfdTools/general/solutionControl/simpleControl/simpleControl.C b/src/finiteVolume/cfdTools/general/solutionControl/simpleControl/simpleControl.C index 0dc2fe8eb..78a37ee3d 100644 --- a/src/finiteVolume/cfdTools/general/solutionControl/simpleControl/simpleControl.C +++ b/src/finiteVolume/cfdTools/general/solutionControl/simpleControl/simpleControl.C @@ -134,7 +134,7 @@ bool Foam::simpleControl::loop() if (criteriaSatisfied()) { Info<< nl << algorithmName_ << " solution converged in " - << time.timeName() << " iterations" << nl << endl; + << time.value() << " iterations" << nl << endl; // Set to finalise calculation time.writeAndEnd();