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 timer value of Timer::TOTAL for AMR simulations #225

Merged
merged 2 commits into from
Apr 8, 2024

Conversation

sebastiangrimberg
Copy link
Contributor

Fix after #212. The total time value for AMR simulations, when reduction is performed more than once, was previously double counting and printing an incorrect value.

@sebastiangrimberg sebastiangrimberg added the bug Something isn't working label Apr 8, 2024
@sebastiangrimberg sebastiangrimberg requested a review from kllrak April 8, 2024 16:48
@kllrak
Copy link
Contributor

kllrak commented Apr 8, 2024

Did not build to try this, but the logic of the changes makes sense to me and should fix what I was seeing.

@sebastiangrimberg sebastiangrimberg merged commit 6c180aa into main Apr 8, 2024
17 checks passed
@sebastiangrimberg sebastiangrimberg deleted the sjg/timer-fix branch April 8, 2024 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants