fix bug with addstep_compute skipping on first step
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user