Skip to content

Fix typo in submdspan_extents.#8243

Merged
jensmaurer merged 1 commit into
cplusplus:mainfrom
1uc:1uc/typo-submdspan_extents
Sep 27, 2025
Merged

Fix typo in submdspan_extents.#8243
jensmaurer merged 1 commit into
cplusplus:mainfrom
1uc:1uc/typo-submdspan_extents

Conversation

@1uc

@1uc 1uc commented Sep 22, 2025

Copy link
Copy Markdown
Contributor

The pack Extents must be a pack of size_t integers.

@jwakely jwakely left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This mistake was in the incoming paper, but I agree it has to be a pack of size_t because otherwise extents<IndexType, Extents...> is ill-formed. But it needs to be changed in the [ndspan.syn] synopsis too.

@mhoemmen

@1uc

1uc commented Sep 22, 2025

Copy link
Copy Markdown
Contributor Author

That makes sense. I've added a commit to address the issue. If you don't want to do a "squash and merge", let me know and I'll force push a single commit.

@1uc 1uc marked this pull request as ready for review September 22, 2025 18:57
The pack `Extents` must be a pack of `size_t` integers. This
typo is affects both [mdspan.syn] and [mdspan.sub.extents].
@1uc 1uc force-pushed the 1uc/typo-submdspan_extents branch from 0ff2283 to 7992a8a Compare September 26, 2025 11:01
@1uc

1uc commented Sep 26, 2025

Copy link
Copy Markdown
Contributor Author

I've updated the commit message to mention [view.multidim] and squashed the two commits together.

@jwakely jwakely left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks

@jensmaurer jensmaurer merged commit 0201407 into cplusplus:main Sep 27, 2025
2 checks passed
@mhoemmen

mhoemmen commented Oct 2, 2025

Copy link
Copy Markdown
Contributor

@jwakely I was traveling and just got back -- is everything OK now?

@jwakely

jwakely commented Oct 2, 2025

Copy link
Copy Markdown
Member

Yes, I think this change was correct

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.

4 participants