Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #414 GOMC prints console headers twice when printing every step #415

Merged
merged 1 commit into from
Jan 17, 2022

Conversation

LSchwiebert
Copy link
Collaborator

This is a small patch that prevents the console headers from printing twice when the output is printed every step. Added a boolean variable so that the headers are printed only the first time, instead of using step==0 as a special value.

Copy link
Collaborator

@msoroush msoroush left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@bc118
Copy link
Collaborator

bc118 commented Jan 17, 2022

Looks like it's working properly now.

@LSchwiebert LSchwiebert merged commit a18336b into development Jan 17, 2022
@LSchwiebert LSchwiebert deleted the console-output branch January 18, 2022 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants