Skip to content

Commit

Permalink
Fixed one more issue related to restarts (when using dump=2 option).
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveMaas1978 committed Oct 22, 2024
1 parent c8b9ad9 commit 82aa960
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions FECore/FEModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1226,15 +1226,15 @@ bool FEModel::Solve()
// solve the analaysis step
bok = m_imp->m_pStep->Solve();

// do callbacks
DoCallback(CB_STEP_SOLVED);

if (nstep + 1 == Steps())
{
// set the solved flag
m_imp->m_bsolved = bok;
}

// do callbacks
DoCallback(CB_STEP_SOLVED);

// wrap it up
m_imp->m_pStep->Deactivate();

Expand Down

0 comments on commit 82aa960

Please sign in to comment.