Skip to content

Commit b9c1f47

Browse files
Merge pull request #285 from SciML/qrbang
Don't use qr! on SparseMatrixCSC
2 parents a5b11d7 + 7cd2b00 commit b9c1f47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/factorization.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ end
9191

9292
function do_factorization(alg::QRFactorization, A, b, u)
9393
A = convert(AbstractMatrix, A)
94-
if alg.inplace && (!(A isa SparseMatrixCSC) || VERSION >= v"1.8-")
94+
if alg.inplace && !(A isa SparseMatrixCSC)
9595
fact = qr!(A, alg.pivot)
9696
else
9797
fact = qr(A) # CUDA.jl does not allow other args!

0 commit comments

Comments
 (0)