Skip to content

Commit

Permalink
doc: fix typo in interface manual section (#44703)
Browse files Browse the repository at this point in the history
  • Loading branch information
LilithHafner authored Mar 23, 2022
1 parent fc9c280 commit d655402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/src/manual/interfaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ provides a traits-based mechanism to enable efficient generic code for all array

This distinction determines which scalar indexing methods the type must define. `IndexLinear()`
arrays are simple: just define `getindex(A::ArrayType, i::Int)`. When the array is subsequently
indexed with a multidimensional set of indices, the fallback `getindex(A::AbstractArray, I...)()`
indexed with a multidimensional set of indices, the fallback `getindex(A::AbstractArray, I...)`
efficiently converts the indices into one linear index and then calls the above method. `IndexCartesian()`
arrays, on the other hand, require methods to be defined for each supported dimensionality with
`ndims(A)` `Int` indices. For example, [`SparseMatrixCSC`](@ref) from the `SparseArrays` standard
Expand Down

0 comments on commit d655402

Please sign in to comment.