Fixed bug: Segmentation fault when criteriaSatisfied() in simpleControl
This commit is contained in:
parent
2f02e183b6
commit
0c886b5a93
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Reference in a new issue