Skip to content

Array indexing with non purely Int type #2904

Locked Answered by soraros
lbartworks asked this question in Q&A
Discussion options

You must be logged in to vote
    @always_inline
    fn __getitem__(self, 
        x: SIMD[DType.uint16, 1],  # not SIMD[DType.uint16]
        ...,
    ) -> Scalar[dtype]:
        ...

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by lbartworks
Comment options

You must be logged in to vote
1 reply
@soraros
Comment options

Comment options

You must be logged in to vote
4 replies
@lbartworks
Comment options

@soraros
Comment options

@remorses
Comment options

@lbartworks
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants