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

Use setMomentum for particles #185

Merged
merged 2 commits into from
Mar 18, 2024
Merged

Use setMomentum for particles #185

merged 2 commits into from
Mar 18, 2024

Conversation

jmcarcell
Copy link
Contributor

BEGINRELEASENOTES

  • Use setMomentum for particles, fixing an issue when trying to change a const reference

ENDRELEASENOTES

I'm not sure what has changed since I think that has been there for a time but
the reference from getMomentum should be const. Locally I don't need this fix
with clang 17 and I can't reproduce the error when building on top of the latest
nightlies (that are picking up EDM4hep from a few days ago) but on spack I can
reproduce consistently

@tmadlener
Copy link
Contributor

tmadlener commented Mar 18, 2024

What has changed is this: AIDASoft/podio#553 (which is not part of podio v00-99)

edit: I am in any case all for the solution that is implemented here as the canonical approach for this.

@jmcarcell
Copy link
Contributor Author

jmcarcell commented Mar 18, 2024

But that PR was merged on Feb 15 and the nightly build on Feb 16 is using master in podio and main in k4FWCore

@jmcarcell jmcarcell merged commit bc9bfc7 into key4hep:main Mar 18, 2024
8 of 11 checks passed
@jmcarcell jmcarcell deleted the read-only branch March 18, 2024 16:55
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