Skip to content

Commit 6e2ff84

Browse files
committed
fixed example in readme
1 parent 796b531 commit 6e2ff84

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,16 @@ julia> AL = tril!(collect(A))
3636
`AL` requires the same amount of storage as does `A` even though there are only 21 potential non-zeros in `AL`.
3737
The RFP version of the lower triangular matrix
3838
```julia
39-
julia> ArfpL = Int.(TriangularRFP(float.(A), :L))
39+
julia> ArfpL = TriangularRFP(float.(A), :L)
40+
6×6 TriangularRFP{Float64}:
41+
1.0 0.0 0.0 0.0 0.0 0.0
42+
2.0 8.0 0.0 0.0 0.0 0.0
43+
3.0 9.0 15.0 0.0 0.0 0.0
44+
4.0 10.0 16.0 22.0 0.0 0.0
45+
5.0 11.0 17.0 23.0 29.0 0.0
46+
6.0 12.0 18.0 24.0 30.0 36.0
47+
48+
julia> Int.(ArfpL)
4049
6×6 Matrix{Int64}:
4150
1 0 0 0 0 0
4251
2 8 0 0 0 0

0 commit comments

Comments
 (0)