Skip to content

Commit

Permalink
Merge pull request #414 from JuliaArrays/qr
Browse files Browse the repository at this point in the history
More qr_instance fixes
  • Loading branch information
ChrisRackauckas authored May 16, 2023
2 parents fbe6b8e + a49c4b5 commit d989328
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/ArrayInterface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -573,11 +573,7 @@ Returns an instance of the QR factorization object with the correct type
cheaply.
"""
function qr_instance(A::Matrix{T}) where {T}
if VERSION >= v"1.9"
LinearAlgebra.QRCompactWY(zeros(T,0,0),zeros(T,0,0))
else
LinearAlgebra.QRCompactWYQ(zeros(T,0,0),zeros(T,0,0))
end
LinearAlgebra.QRCompactWY(zeros(T,0,0),zeros(T,0,0))
end

function qr_instance(A::Matrix{BigFloat})
Expand Down

0 comments on commit d989328

Please sign in to comment.