Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
mtfishman committed Dec 11, 2024
1 parent 33b3d6c commit 3b5f416
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/abstractsparsearrayinterface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ end
StoredValues(a::AbstractArray) = StoredValues(a, collect(eachstoredindex(a)))
Base.size(a::StoredValues) = size(a.storedindices)
Base.getindex(a::StoredValues, I::Int) = getstoredindex(a.array, a.storedindices[I])
Base.setindex!(a::StoredValues, value, I::Int) = setstoredindex!(a.array, value, a.storedindices[I])
function Base.setindex!(a::StoredValues, value, I::Int)
return setstoredindex!(a.array, value, a.storedindices[I])

Check warning on line 54 in src/abstractsparsearrayinterface.jl

View check run for this annotation

Codecov / codecov/patch

src/abstractsparsearrayinterface.jl#L50-L54

Added lines #L50 - L54 were not covered by tests
end

storedvalues(a::AbstractArray) = StoredValues(a)

Check warning on line 57 in src/abstractsparsearrayinterface.jl

View check run for this annotation

Codecov / codecov/patch

src/abstractsparsearrayinterface.jl#L57

Added line #L57 was not covered by tests

Expand Down

0 comments on commit 3b5f416

Please sign in to comment.