Skip to content

Fix indexing issue for output monitoring#3389

Open
Steven-Roberts wants to merge 1 commit into
boutproject:nextfrom
Steven-Roberts:monitor-bug-fix
Open

Fix indexing issue for output monitoring#3389
Steven-Roberts wants to merge 1 commit into
boutproject:nextfrom
Steven-Roberts:monitor-bug-fix

Conversation

@Steven-Roberts

Copy link
Copy Markdown
Contributor

Output monitoring functions would get called twice in a row with iter = 0 (unless dump_on_restart = false) and would never reach iteration NOUT which was used as a check for cleanup:

if (iter == NOUT || abort) {

This PR fixes solver iterations to be 1-indexed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant