File tree Expand file tree Collapse file tree 2 files changed +16
-16
lines changed
Expand file tree Collapse file tree 2 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 11name = " SparseArraysBase"
22uuid = " 0d5efcca-f356-4864-8770-e1ed8d78f208"
33authors = [" ITensor developers <support@itensor.org> and contributors" ]
4- version = " 0.7.4 "
4+ version = " 0.7.5 "
55
66[deps ]
77Accessors = " 7d9f7c33-5ae7-4f3b-8dc6-eff91059b697"
Original file line number Diff line number Diff line change @@ -43,19 +43,19 @@ julia> Pkg.add("SparseArraysBase")
4343
4444```` julia
4545using SparseArraysBase:
46- SparseArrayDOK,
47- SparseMatrixDOK,
48- SparseVectorDOK,
49- eachstoredindex,
50- getstoredindex,
51- getunstoredindex,
52- isstored,
53- setstoredindex!,
54- setunstoredindex!,
55- storedlength,
56- storedpairs,
57- storedvalues,
58- zero!
46+ SparseArrayDOK,
47+ SparseMatrixDOK,
48+ SparseVectorDOK,
49+ eachstoredindex,
50+ getstoredindex,
51+ getunstoredindex,
52+ isstored,
53+ setstoredindex!,
54+ setunstoredindex!,
55+ storedlength,
56+ storedpairs,
57+ storedvalues,
58+ zero!
5959using Test: @test , @test_throws
6060
6161a = SparseArrayDOK {Float64} (undef, 2 , 2 )
@@ -135,14 +135,14 @@ b = a[1:2, 2]
135135a = SparseArrayDOK {Float64} (undef, 2 , 2 )
136136a .= 2
137137for I in eachindex (a)
138- @test a[I] == 2
138+ @test a[I] == 2
139139end
140140@test storedlength (a) == length (a)
141141
142142a = SparseArrayDOK {Float64} (undef, 2 , 2 )
143143fill! (a, 2 )
144144for I in eachindex (a)
145- @test a[I] == 2
145+ @test a[I] == 2
146146end
147147@test storedlength (a) == length (a)
148148
You can’t perform that action at this time.
0 commit comments