Skip to content

Commit 4ed70d6

Browse files
committed
Fixing types in arith test
1 parent d42dd87 commit 4ed70d6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/simple/arith.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ def simple_arith(verbose = False):
1515
display_func = _util.display_func(verbose)
1616
print_func = _util.print_func(verbose)
1717

18-
a = af.randu(3,3,dtype=af.Dtype.u32)
19-
b = af.constant(4, 3, 3, dtype=af.Dtype.u32)
18+
a = af.randu(3,3)
19+
b = af.constant(4, 3, 3)
2020
display_func(a)
2121
display_func(b)
2222

@@ -99,6 +99,9 @@ def simple_arith(verbose = False):
9999
display_func(a == 0.5)
100100
display_func(0.5 == a)
101101

102+
a = af.randu(3,3,dtype=af.Dtype.u32)
103+
b = af.constant(4, 3, 3, dtype=af.Dtype.u32)
104+
102105
display_func(a & b)
103106
display_func(a & 2)
104107
c = a

0 commit comments

Comments
 (0)