Skip to content

Commit 7b30010

Browse files
committed
BUGFIX: Fixing typo in QR (was calling af_lu instead)
1 parent 726605c commit 7b30010

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arrayfire/lapack.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def qr(A):
9898
Q = Array()
9999
R = Array()
100100
T = Array()
101-
safe_call(backend.get().af_lu(ct.pointer(Q.arr), ct.pointer(R.arr), ct.pointer(T.arr), A.arr))
101+
safe_call(backend.get().af_qr(ct.pointer(Q.arr), ct.pointer(R.arr), ct.pointer(T.arr), A.arr))
102102
return Q,R,T
103103

104104
def qr_inplace(A):

0 commit comments

Comments
 (0)