Skip to content

Commit aac65c2

Browse files
fredrikekreKristofferC
authored andcommitted
Fix LU doctest broken by #32989. (#33051)
(cherry picked from commit 24f1611)
1 parent 0905f7c commit aac65c2

File tree

1 file changed

+8
-8
lines changed
  • stdlib/LinearAlgebra/src

1 file changed

+8
-8
lines changed

stdlib/LinearAlgebra/src/lu.jl

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ julia> F = lu(A)
3131
LU{Float64,Array{Float64,2}}
3232
L factor:
3333
2×2 Array{Float64,2}:
34-
1.0 0.0
35-
1.5 1.0
34+
1.0 0.0
35+
0.666667 1.0
3636
U factor:
3737
2×2 Array{Float64,2}:
38-
4.0 3.0
39-
0.0 -1.5
38+
6.0 3.0
39+
0.0 1.0
4040
4141
julia> F.L * F.U == A[F.p, :]
4242
true
@@ -251,12 +251,12 @@ julia> F = lu(A)
251251
LU{Float64,Array{Float64,2}}
252252
L factor:
253253
2×2 Array{Float64,2}:
254-
1.0 0.0
255-
1.5 1.0
254+
1.0 0.0
255+
0.666667 1.0
256256
U factor:
257257
2×2 Array{Float64,2}:
258-
4.0 3.0
259-
0.0 -1.5
258+
6.0 3.0
259+
0.0 1.0
260260
261261
julia> F.L * F.U == A[F.p, :]
262262
true

0 commit comments

Comments
 (0)