Commit 8edaf9e0 authored by Topi Rasku's avatar Topi Rasku
Browse files

Fixing a major bug where the interval counter is updated after each sample...

Fixing a major bug where the interval counter is updated after each sample loop, messing up the sft-structure.
parent 987d4991
......@@ -299,10 +299,11 @@ loop(cc(counter),
// Update tActive
t_active(tt_interval) = yes;
// Update tCounter for the next interval
tCounter = mInterval(mSolve, 'intervalEnd', counter);
); // END loop(ms)
// Update tCounter for the next interval
tCounter = mInterval(mSolve, 'intervalEnd', counter);
); // END loop(counter)
// Time step displacement to reach previous time step
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment