Skip to content

Fixed generator constructor's value parameter type to match working draft (#15) - #40

Merged
danieltowner merged 1 commit into
mainfrom
fix_generator_index_type
Oct 6, 2026
Merged

danieltowner merged 1 commit into
mainfrom
fix_generator_index_type

Conversation

@danieltowner

Copy link
Copy Markdown
Contributor

The generator constructor was passing a size_t as a parameter, not an integral_constant of simd_size_t. Added more tests to expose the issue and then fix it. Also re-enabled the no-sign-compare warning which was strongly related to misuse of the index, and fixed one extra error that occurred as a consequence.

The generator constructor was passing a `size_t` as a parameter, not
an `integral_constant` of `simd_size_t`. Added more tests to expose the issue and then fix
it. Also re-enabled the `no-sign-compare` warning which was strongly related to misuse of the index,
and fixed one extra error that occurred as a consequence.

@timmiesmith timmiesmith left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM.

@danieltowner
danieltowner merged commit d876204 into main Oct 6, 2026
4 checks passed
@danieltowner
danieltowner deleted the fix_generator_index_type branch October 6, 2026 13:10
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.

2 participants