Skip to content

Commit e16ede2

Browse files
Corrected counting of solvers statistcs (#8606)
Fixed ticket #8604
1 parent a00489c commit e16ede2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OMCompiler/SimulationRuntime/c/simulation/solver/perform_simulation.c.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ static void retrySimulationStep(DATA* data, threadData_t *threadData, SOLVER_INF
357357
static void saveIntegratorStats(SOLVER_INFO* solverInfo)
358358
{
359359
int ui;
360-
if (solverInfo->didEventStep == 1)
360+
if (!(omc_flag[FLAG_NO_RESTART] && solverInfo->solverMethod==S_DASSL) && solverInfo->didEventStep == 1)
361361
{
362362
for(ui=0; ui<numStatistics; ui++)
363363
{

0 commit comments

Comments
 (0)