-
Notifications
You must be signed in to change notification settings - Fork 37
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
feat: add 4 dimensional vector object #248
Conversation
660793b
to
d5fd5ee
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I think this looks good with a few minor corrections.
There are some vector utilities that have been added by EIC here: utils/include/edm4hep/utils/vector_utils.h
. I am not sure if you also want to add this one there, or if you want to wait with that until there is a need to do it.
Usually pre-commit
will fail because the README.md
has links to the different types in the YAML file and it checks whether they point to the right place. You can easily fix this via the scripts/updateReadmeLinks.py
script.
I'll work on implementing some of these, as they would probably be useful in the long run |
I added some basic operator functionality for the 4 vectors. I think that should be sufficient for now and if we need more functionality, I can come back and add it in a future PR. |
What is the best way to test the build failure? This builds for me locally in my environment and all tests pass, so I'm not sure how best to debug. I did re-test with the |
I think the build failures are in the c+17 builds. There is a EDM4hep/utils/include/edm4hep/utils/vector_utils.h Lines 6 to 8 in e481262
So you would have to implement at least the |
Looks like everything passes except that a test in an fcc build seg faults. What is the best way for me to test this locally as I don't see these tests in the repo? |
That seems to be unrelated to this change and I am not entirely sure whether the |
Okay sounds good, thanks for letting me know. In that case, if it is not too much of an issue would you mind creating a release after merging this PR? It is not urgent with the holidays coming up, so there is absolutely no rush on this |
I will wait with merging until after the break even though this should not break anything. If nothing has happened after a few days in January, can you ping me again? A new tag is no problem. |
Sounds great, will do. Thanks for your help! |
Unless there are any further changes requested (and now since it is after the holiday break), are there any objections to merge this and create a new release? |
Co-authored-by: Thomas Madlener <[email protected]>
Co-authored-by: Thomas Madlener <[email protected]>
Co-authored-by: Thomas Madlener <[email protected]>
There is a new tag and there is also a PR in spack to pick it up: spack/spack#41987 |
Thanks very much for the new tag! |
Merged in spack. |
BEGINRELEASENOTES
x
,y
,z
andt
. Fixes Add 4D vector object #245ENDRELEASENOTES