Fixed bug: Segmentation fault when criteriaSatisfied() in simpleControl

This commit is contained in:
Vanja Skuric 2016-11-22 22:43:33 +01:00
parent 2f02e183b6
commit 0c886b5a93

View file

@ -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();