Skip to content

Commit e13c3c6

Browse files
authored
typo: CartesianIndexes -> CartesianIndices
1 parent 4ce509c commit e13c3c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Y_{i,j} = f(X)_{i, j} = τ(X, ϕ(i, j))
3838
Take the following resizing operation as an example, for every pixel position `p` in output image `Y`, we 1) use the backward coordinate map `ϕ` to get its corresponding pixel position `q` in original image `X`. Since `q` may not be on grid, we need to 2) estimate the value of `X` on position `q` using function `τ`, and finally 3) assign `X[q]` back to `Y[p]`. In Julia words, it is
3939

4040
```julia
41-
for p in CartesianIndexes(Y)
41+
for p in CartesianIndices(Y)
4242
q = ϕ(p) # backward coordinate map
4343
v = τ(X, q) # estimate the value
4444
Y[p] = v # assign value back

0 commit comments

Comments
 (0)