Skip to content

Commit

Permalink
Fix LU doctest broken by #32989. (#33051)
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre committed Aug 24, 2019
1 parent da9685b commit 24f1611
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions stdlib/LinearAlgebra/src/lu.jl
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ julia> F = lu(A)
LU{Float64,Array{Float64,2}}
L factor:
2×2 Array{Float64,2}:
1.0 0.0
1.5 1.0
1.0 0.0
0.666667 1.0
U factor:
2×2 Array{Float64,2}:
4.0 3.0
0.0 -1.5
6.0 3.0
0.0 1.0
julia> F.L * F.U == A[F.p, :]
true
Expand Down Expand Up @@ -251,12 +251,12 @@ julia> F = lu(A)
LU{Float64,Array{Float64,2}}
L factor:
2×2 Array{Float64,2}:
1.0 0.0
1.5 1.0
1.0 0.0
0.666667 1.0
U factor:
2×2 Array{Float64,2}:
4.0 3.0
0.0 -1.5
6.0 3.0
0.0 1.0
julia> F.L * F.U == A[F.p, :]
true
Expand Down

0 comments on commit 24f1611

Please sign in to comment.