Skip to content

Patch acts@main fillGrid atPosition->at to verify upstream fix#68

Merged
madbaron merged 1 commit into
acorn_integrationfrom
acts-atposition-patch
Jun 9, 2026
Merged

Patch acts@main fillGrid atPosition->at to verify upstream fix#68
madbaron merged 1 commit into
acorn_integrationfrom
acts-atposition-patch

Conversation

@madbaron

@madbaron madbaron commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

acts main fails to compile k4actstracking: CylindricalSpacePointGrid.ipp's post-fill sort loop calls grid.atPosition(binIndex) with a std::size_t global bin index. After acts-project/acts#5541 (c36cd88cd) routed localBinsFromPosition through MultiAxisHelper::getMultiIndexFromPoint, that deduces Point=std::size_t and subscripts a scalar -> "subscripted value is neither array nor pointer".

Rather than pinning acts, add a mucoll-namespace acts override that subclasses builtin acts and applies a one-line source patch (atPosition -> at, matching the grid.at(globIndex) accessor used a few lines above) when @main. This keeps acts tracking main while verifying the candidate upstream fix unblocks the build. Remove once the fix lands in acts main.

acts main fails to compile k4actstracking: CylindricalSpacePointGrid.ipp's
post-fill sort loop calls grid.atPosition(binIndex) with a std::size_t global
bin index. After acts-project/acts#5541 (c36cd88cd) routed localBinsFromPosition
through MultiAxisHelper::getMultiIndexFromPoint, that deduces Point=std::size_t
and subscripts a scalar -> "subscripted value is neither array nor pointer".

Rather than pinning acts, add a mucoll-namespace acts override that subclasses
builtin acts and applies a one-line source patch (atPosition -> at, matching the
grid.at(globIndex) accessor used a few lines above) when @main. This keeps acts
tracking main while verifying the candidate upstream fix unblocks the build.
Remove once the fix lands in acts main.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@madbaron madbaron merged commit d000fd0 into acorn_integration Jun 9, 2026
0 of 4 checks passed
@madbaron madbaron deleted the acts-atposition-patch branch June 9, 2026 07:43
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.

1 participant