Skip to content

Commit 21f7d48

Browse files
committed
More README fixes.
1 parent ac8033a commit 21f7d48

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ An axis `i` of array `A` is dense if `stride(A, i) * size(A, i) == stride(A, j)`
172172
Returns the size of `A`. If the size of any axes are known at compile time,
173173
these should be returned as `StaticInt`s. For example:
174174
```julia
175-
julia> using StaticArrays; using ArrayInterface: sdsize
175+
julia> using StaticArrays, ArrayInterface
176176

177177
julia> A = @SMatrix rand(3,4);
178178

@@ -185,7 +185,7 @@ julia> ArrayInterface.size(A)
185185
Returns the strides of array `A`. If any strides are known at compile time,
186186
these should be returned as `StaticInt`s. For example:
187187
```julia
188-
julia> using ArrayInterface: sdstrides
188+
julia> using ArrayInterface
189189

190190
julia> A = rand(3,4);
191191

@@ -196,7 +196,7 @@ julia> ArrayInterface.strides(A)
196196

197197
Returns offsets of indices with respect to 0. If values are known at compile time,
198198
it should return them as `StaticInt`s.
199-
For example, if `A isa Base.Matrix`, `sdoffsets(A) === (StaticInt(1), StaticInt(1))`.
199+
For example, if `A isa Base.Matrix`, `offsets(A) === (StaticInt(1), StaticInt(1))`.
200200

201201
## can_avx(f)
202202

0 commit comments

Comments
 (0)