Skip to content

Commit

Permalink
Fix documentation of findall behaviour (#452)
Browse files Browse the repository at this point in the history
  • Loading branch information
adomasbaliuka authored Oct 4, 2023
1 parent 05ac950 commit 713ab9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ julia> R = sparsevec(I,V)
```

The inverse of the [`sparse`](@ref) and [`sparsevec`](@ref) functions is
[`findnz`](@ref), which retrieves the inputs used to create the sparse array.
[`findnz`](@ref), which retrieves the inputs used to create the sparse array (including stored entries equal to zero).
[`findall(!iszero, x)`](@ref) returns the Cartesian indices of non-zero entries in `x`
(including stored entries equal to zero).
(not including stored entries equal to zero).

```jldoctest sparse_function
julia> findnz(S)
Expand Down

0 comments on commit 713ab9b

Please sign in to comment.