bug fix for loop stall

This commit is contained in:
Hamidreza Norouzi
2023-02-20 07:53:48 -08:00
parent 30d5d81656
commit 4c0ef16316
5 changed files with 28 additions and 24 deletions

View File

@ -182,23 +182,7 @@ public:
return true;
}
bool operator ++(int)
{
if( reachedStopAt() ) return false;
// increament iteration number
currentIter_++;
currentTime_ += dt_;
if(screenReport())
{
REPORT(0)<<"Time (s): "<<cyanText( currentTimeWord() )<<endREPORT;
}
// switch outputToFile_ on/off
checkForOutputToFile();
return true;
}
bool operator ++(int);
void setSaveTimeFolder(
bool saveToFile,