Type Error for equality between a subscripted ndarray and a scalar #420
derppening
commented 2024-06-18 13:22:51 +08:00
Collaborator
```py
# mat_i64: KernelInvariant[ndarray[int64, 2]]
assert self.mat_i64[0, 0] == int64(0) # Incompatible types: ndarray[bool, const(I32(2))] and bool
```
derppening
self-assigned this 2024-06-19 18:43:06 +08:00
derppening
referenced this issue from a commit 2024-06-20 12:29:48 +08:00
core: Fix type inference for tuple-index into ndarray
derppening
referenced a pull request that will close this issue 2024-06-20 12:30:26 +08:00
Implement/Fix support for tuple-indexing into ndarrays #429
sb10q
closed this issue 2024-06-20 12:50:31 +08:00
sb10q
referenced this issue from a commit 2024-06-20 12:50:32 +08:00
core: Fix type inference for tuple-index into ndarray
Labels
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/nac3#420
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?