[python-arrayfire] 25/58: BUGFIX: Fixing typo in QR (was calling af_lu instead)

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Sep 28 13:57:05 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository python-arrayfire.

commit 7b30010cb4e3dcf11c304d17229868c24df5ea26
Author: Pavan Yalamanchili <pavan at arrayfire.com>
Date:   Sun Sep 11 01:03:24 2016 -0400

    BUGFIX: Fixing typo in QR (was calling af_lu instead)
---
 arrayfire/lapack.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arrayfire/lapack.py b/arrayfire/lapack.py
index 346cddb..add6f55 100644
--- a/arrayfire/lapack.py
+++ b/arrayfire/lapack.py
@@ -98,7 +98,7 @@ def qr(A):
     Q = Array()
     R = Array()
     T = Array()
-    safe_call(backend.get().af_lu(ct.pointer(Q.arr), ct.pointer(R.arr), ct.pointer(T.arr), A.arr))
+    safe_call(backend.get().af_qr(ct.pointer(Q.arr), ct.pointer(R.arr), ct.pointer(T.arr), A.arr))
     return Q,R,T
 
 def qr_inplace(A):

-- 
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