[python-arrayfire] 54/250: Correct order of arguments
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Mon Mar 28 22:59:30 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/master
in repository python-arrayfire.
commit 98112027e5d8d63e60eb7e285860162af46f8426
Author: Filipe Maia <filipe.c.maia at gmail.com>
Date: Thu Aug 27 21:50:38 2015 +0200
Correct order of arguments
---
arrayfire/arith.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arrayfire/arith.py b/arrayfire/arith.py
index b94bf36..960ed17 100644
--- a/arrayfire/arith.py
+++ b/arrayfire/arith.py
@@ -35,7 +35,7 @@ def arith_binary_func(lhs, rhs, c_func):
rty = rhs.type()
other = array()
other.arr = constant_array(lhs, rdims[0], rdims[1], rdims[2], rdims[3], rty)
- safe_call(c_func(ct.pointer(out.arr), lhs.arr, other.arr, bcast.get()))
+ safe_call(c_func(ct.pointer(out.arr), other.arr, rhs.arr, bcast.get()))
return out
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-arrayfire.git
More information about the debian-science-commits
mailing list