Skip to content

Commit a296609

Browse files
committed
Include final time in output
1 parent de73f83 commit a296609

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/class/src/runner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export function runClass(config: Config, freq = 600): ClassOutput {
4242
writeOutput();
4343

4444
// Update loop
45-
while (model.t < config.runtime) {
45+
while (model.t <= config.runtime) {
4646
model.update();
4747

4848
if (model.t % freq === 0) {

0 commit comments

Comments
 (0)