Skip to content

Commit

Permalink
fix doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
rayegun committed May 29, 2022
1 parent b8659b0 commit 09c7f6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/solvers/cholmod.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1228,7 +1228,7 @@ julia> A = [2 1 1; 1 2 0; 1 0 2]
1 0 2
julia> C = cholesky(sparse(A))
SuiteSparse.CHOLMOD.Factor{Float64}
SparseArrays.CHOLMOD.Factor{Float64}
type: LLt
method: simplicial
maxnnz: 5
Expand Down Expand Up @@ -1262,7 +1262,7 @@ julia> P' * L * L' * P ≈ A
true
julia> C = cholesky(sparse(A), perm=1:3)
SuiteSparse.CHOLMOD.Factor{Float64}
SparseArrays.CHOLMOD.Factor{Float64}
type: LLt
method: simplicial
maxnnz: 6
Expand Down
4 changes: 2 additions & 2 deletions src/solvers/spqr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ julia> A = sparse([1,2,3,4], [1,1,2,2], [1.0,1.0,1.0,1.0])
⋅ 1.0
julia> qr(A)
SuiteSparse.SPQR.QRSparse{Float64, Int64}
SparseArrays.SPQR.QRSparse{Float64, Int64}
Q factor:
4×4 SuiteSparse.SPQR.QRSparseQ{Float64, Int64}:
4×4 SparseArrays.SPQR.QRSparseQ{Float64, Int64}:
-0.707107 0.0 0.0 -0.707107
0.0 -0.707107 -0.707107 0.0
0.0 -0.707107 0.707107 0.0
Expand Down

0 comments on commit 09c7f6e

Please sign in to comment.