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

refactor(gx2f): change type of Gx2fnUpdateColumn to uint32_t (athena compatability) #3336

Merged
merged 2 commits into from
Jun 28, 2024

Conversation

AJPfleger
Copy link
Contributor

size_t-columns are not supported in athena. This should be fine for the fitter, since we don't expect values larger than 2000 or so to be in there. Usually we have values around 4-6.

@AJPfleger AJPfleger added this to the next milestone Jun 28, 2024
@AJPfleger AJPfleger requested a review from paulgessinger June 28, 2024 14:53
@github-actions github-actions bot added Component - Core Affects the Core module Component - Examples Affects the Examples module Track Fitting labels Jun 28, 2024
Copy link

@kodiakhq kodiakhq bot merged commit 3eb039a into acts-project:main Jun 28, 2024
53 checks passed
@@ -1006,7 +1006,7 @@ class Gx2Fitter {
if (trackContainer.hasColumn(
Acts::hashString(Gx2fConstants::gx2fnUpdateColumn))) {
ACTS_DEBUG("Add nUpdate to track")
track.template component<std::size_t>("Gx2fnUpdateColumn") = nUpdate;
track.template component<std::uint32_t>("Gx2fnUpdateColumn") = nUpdate;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SonarQube points out that this is an implicit conversion, which could potentially have made explicit here.

@acts-project-service acts-project-service added the Breaks Athena build This PR breaks the Athena build label Jun 28, 2024
@AJPfleger AJPfleger deleted the athena-nupdatecolumn branch June 28, 2024 20:24
@paulgessinger paulgessinger modified the milestones: next, v36.0.0 Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Breaks Athena build This PR breaks the Athena build Component - Core Affects the Core module Component - Examples Affects the Examples module Track Fitting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants