Skip to content

Commit 9811202

Browse files
committed
Correct order of arguments
1 parent 58e030a commit 9811202

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arrayfire/arith.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def arith_binary_func(lhs, rhs, c_func):
3535
rty = rhs.type()
3636
other = array()
3737
other.arr = constant_array(lhs, rdims[0], rdims[1], rdims[2], rdims[3], rty)
38-
safe_call(c_func(ct.pointer(out.arr), lhs.arr, other.arr, bcast.get()))
38+
safe_call(c_func(ct.pointer(out.arr), other.arr, rhs.arr, bcast.get()))
3939

4040
return out
4141

0 commit comments

Comments
 (0)