We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2a85ac commit 96a66daCopy full SHA for 96a66da
tests/simple/index.py
@@ -70,7 +70,7 @@ def simple_index(verbose=False):
70
rows = af.constant(0, 1, dtype=af.Dtype.s32)
71
b = a[:, rows]
72
display_func(b)
73
- for r in rows:
+ for r in range(rows.elements()):
74
display_func(r)
75
display_func(b[:, r])
76
0 commit comments