SIMSolver: avoid unused variable

iStep is not used
This commit is contained in:
Arne Morten Kvarving 2023-10-24 13:59:04 +02:00
parent 4f6bae7992
commit b02de8d87b

View File

@ -155,7 +155,7 @@ public:
this->printHeading(heading);
// Solve for each time step up to final time
for (int iStep = 1; this->advanceStep(); iStep++)
while (this->advanceStep())
if (!this->S1.solveStep(tp))
return saveDivergedSol && !this->S1.saveStep(tp,nBlock) ? 4 : 3;
else if (!this->saveState(geoBlk,nBlock))