Skip to content

Conversation

@roystgnr
Copy link
Member

We want to copy policies in our copy constructors, but only there, not in the method that specifically says it will not copy most "high level" data.

This fixes a bug in the MOOSE reactor module for me.

Unfortunately, this behavior is a 13 year old bug; hopefully other code hasn't come to depend on it.

While I was at it, I fixed a potential bug in the set_isnt_prepared() logic; that turned out to be a red herring for this case but better safe than sorry for the future.

roystgnr added 2 commits May 20, 2025 14:17
We rely on that for skipping redundant preparation later, so we really
don't want to turn that on if it might be incorrect and cause us to skip
necessary preparation later.
We want to copy policies in our copy constructors, but *only* there, not
in the method that specifically says it will not copy most "high level"
data.

This fixes a bug in the MOOSE reactor module for me.

Unfortunately, this behavior is a 13 year old bug; hopefully other code
hasn't come to depend on it.
@moosebuild
Copy link

Job Coverage, step Generate coverage on 4a1ac46 wanted to post the following:

Coverage

d643c3 #4175 4a1ac4
Total Total +/- New
Rate 63.56% 63.56% +0.00% 100.00%
Hits 75603 75617 +14 21
Misses 43348 43348 - 0

Diff coverage report

Full coverage report

This comment will be updated on new commits.

@roystgnr roystgnr merged commit 6c8c6a8 into libMesh:devel May 21, 2025
20 checks passed
@roystgnr roystgnr deleted the preparedness_fixes branch May 21, 2025 17:11
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.

2 participants