Skip to content

Conversation

windwhiterain
Copy link
Contributor

Currently assigning to an subscripted list of tuples in taichi scope will results an error. For example:

a = [(0, 1)] * 3

a[1] = (0, 2) # results error

I modified build_basic_assign to support this.

I was motivated from my attempt to create custom iterable from custom data. I have to create a list of tuple like [(0, 1), (1, 3)] to fill in the ndrange.

@feisuzhu
Copy link
Contributor

feisuzhu commented May 7, 2025

/rebase

@taichi-gardener taichi-gardener force-pushed the build_subscripted_tuple_assgin branch from 9b55637 to 7d1caa9 Compare May 7, 2025 14:32
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