Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/qr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ rectangularQ(Q::LinearAlgebra.AbstractQ) = Matrix(Q)
@test_throws DimensionMismatch rmul!(Matrix{eltya}(I, n+1, n+1),q)
@test rmul!(squareQ(q), adjoint(q)) ≈ Matrix(I, n, n)
@test_throws DimensionMismatch rmul!(Matrix{eltya}(I, n+1, n+1), adjoint(q))
@test_throws ErrorException size(q,-1)
@test_throws Union{BoundsError,ErrorException} size(q,-1)
@test_throws DimensionMismatch LinearAlgebra.lmul!(q,zeros(eltya,n1+1))
@test_throws DimensionMismatch LinearAlgebra.lmul!(adjoint(q), zeros(eltya,n1+1))

Expand All @@ -196,7 +196,7 @@ rectangularQ(Q::LinearAlgebra.AbstractQ) = Matrix(Q)
@test_throws DimensionMismatch rmul!(Matrix{eltya}(I, n+1, n+1),q)
@test rmul!(squareQ(q), adjoint(q)) ≈ Matrix(I, n, n)
@test_throws DimensionMismatch rmul!(Matrix{eltya}(I, n+1, n+1),adjoint(q))
@test_throws ErrorException size(q,-1)
@test_throws Union{BoundsError,ErrorException} size(q,-1)
@test_throws DimensionMismatch q * Matrix{Int8}(I, n+4, n+4)

@test mul!(c, q, b) ≈ q*b
Expand Down