Skip to content

Commit 7465f50

Browse files
unbornchikkenpavanky
authored andcommitted
fix lapack test: prevent opencl mapping of the same resource (#114)
1 parent 320f9fc commit 7465f50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arrayfire/tests/simple/lapack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def simple_lapack(verbose=False):
3939
display_func(a)
4040

4141
a = af.randu(5, 5)
42-
a = af.matmulTN(a, a) + 10 * af.identity(5,5)
42+
a = af.matmulTN(a, a.copy()) + 10 * af.identity(5,5)
4343

4444
R,info = af.cholesky(a)
4545
display_func(R)

0 commit comments

Comments
 (0)