Skip to content

Fixed logic errors in history.cpp and progenitordata.cpp that caused …#239

Merged
Yurlungur merged 1 commit intolanl:mainfrom
graveltr:main
Aug 6, 2025
Merged

Fixed logic errors in history.cpp and progenitordata.cpp that caused …#239
Yurlungur merged 1 commit intolanl:mainfrom
graveltr:main

Conversation

@graveltr
Copy link
Copy Markdown
Contributor

@graveltr graveltr commented Aug 1, 2025

…failures for runs with radiation turned off.

PR Summary

Checks of whether radiation is active were not being done when computing various gain region quantities. This caused failures, for example, for homologous.pin. This PR implements those checks and leads to homologous.pin running without issue.

PR Checklist

  • Adds a test for any bugs fixed. Adds tests for new features.
  • Format your changes by calling scripts/bash/format.sh.
  • Explain what you did.
  • Make any necessary changes to the documentation.

…failures for runs with radiation turned off.
@AstroBarker
Copy link
Copy Markdown
Collaborator

Can't look at this for a few days but the changes worked for me, pinging @Yurlungur if you have time.

Copy link
Copy Markdown
Collaborator

@Yurlungur Yurlungur 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. Thanks for the fix!

@Yurlungur Yurlungur merged commit 830cb3a into lanl:main Aug 6, 2025
3 checks passed
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.

3 participants