Skip to content

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

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

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

Conversation

@abhinavagarwal07

Copy link
Copy Markdown
Owner

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.
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