Skip to content

Commit d79ee9a

Browse files
authored
Fix copy_input for qr (#51)
1 parent 7531d17 commit d79ee9a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/implementations/lq.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Inputs
22
# ------
33
for f in (:lq_full, :lq_compact, :lq_null)
4-
@eval function copy_input(::typeof($f), A::AbstractMatrix)
4+
@eval function copy_input(::typeof($f), A)
55
return copy!(similar(A, float(eltype(A))), A)
66
end
77
@eval copy_input(::typeof($f), A::Diagonal) = copy(A)

src/implementations/qr.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Inputs
22
# ------
33
for f in (:qr_full, :qr_compact, :qr_null)
4-
@eval function copy_input(::typeof($f), A::AbstractMatrix)
4+
@eval function copy_input(::typeof($f), A)
55
return copy!(similar(A, float(eltype(A))), A)
66
end
77
@eval copy_input(::typeof($f), A::Diagonal) = copy(A)

0 commit comments

Comments
 (0)