fix bug with addstep_compute skipping on first step

This commit is contained in:
Axel Kohlmeyer
2025-03-27 18:28:06 -04:00
parent 0263774595
commit a17ec2a8d3

View File

@ -1447,7 +1447,7 @@ void Modify::addstep_compute(bigint newstep)
}
for (int icompute = 0; icompute < n_timeflag; icompute++)
if (compute[list_timeflag[icompute]]->invoked_flag)
if (compute[list_timeflag[icompute]]->invoked_flag >=0)
compute[list_timeflag[icompute]]->addstep(newstep);
}