Skip to content

Commit

Permalink
Add tests for #29713
Browse files Browse the repository at this point in the history
  • Loading branch information
gragusa committed Oct 18, 2018
1 parent f973449 commit 19c32ce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions stdlib/LinearAlgebra/test/qr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,13 @@ end
A = randn(3,2)
Ac = copy(A')
b = randn(3)
b0 = copy(b)
c = randn(2)
c0 = copy(c)
@test A \b ldiv!(c, qr(A ), b)
@test b == b0
@test Ac\c ldiv!(b, qr(Ac, Val(true)), c)
@test c == c0
end

end # module TestQR

0 comments on commit 19c32ce

Please sign in to comment.