-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Here is a recent type error from the regression tests:
yttb/tensor.py:1394: error: Incompatible types in assignment (expression has type "ndarray[tuple[int, ...], dtype[Any]]", variable has type "list[ndarray[tuple[int, ...], dtype[Any]]]") [assignment]Here is the offending code:
1391 combos = []
1392 for i in range(0, ngrps):
1393 combos.append(np.array(list(permutations(grps[i, :]))))
1394 combos = np.stack(combos)I do not think we need to use np.stack.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working