Skip to content

[mdspan.sub.sub] Fix submdspan slice canonicalization#8996

Open
abhinavagarwal07 wants to merge 1 commit intocplusplus:mainfrom
abhinavagarwal07:fix-submdspan-canonicalize
Open

[mdspan.sub.sub] Fix submdspan slice canonicalization#8996
abhinavagarwal07 wants to merge 1 commit intocplusplus:mainfrom
abhinavagarwal07:fix-submdspan-canonicalize

Conversation

@abhinavagarwal07
Copy link
Copy Markdown
Contributor

Two integration errors in submdspan's slice canonicalization Let clause introduced by P3663R3:

  • the function parameter pack is named slices, but the Let clause references an undefined raw_slices; rename the parameter to match subextents ([mdspan.sub.extents]).
  • src is an mdspan but canonical_slices takes an extents object ([mdspan.sub.canonical]); pass src.extents() instead of src.

Two integration errors in the Let clause introduced by P3663R3:
- the function parameter pack is named "slices", but the Let clause
  references an undefined "raw_slices"; rename the parameter to match
  subextents (mdspan.sub.extents);
- src is an mdspan but canonical_slices takes an extents object;
  pass src.extents() instead of src.
@eisenwave eisenwave added the P1-Important Misapplication of paper, malformed code, internal inconsistencies label Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P1-Important Misapplication of paper, malformed code, internal inconsistencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants