diff --git a/src/Positions/Positions.jl b/src/Positions/Positions.jl index 0c2560de..2bccf64f 100644 --- a/src/Positions/Positions.jl +++ b/src/Positions/Positions.jl @@ -83,7 +83,7 @@ function range(grid::RegularGridPositions, dim::Int) end end ndims(grid::RegularGridPositions) = length(grid.shape) -axes(grid::RegularGridPositions) = tuple([range(grid, i) for i in 1:ndims(grid)]...) +Base.axes(grid::RegularGridPositions) = tuple([range(grid, i) for i in 1:ndims(grid)]...) RegularGridPositions(shape, fov, center) = RegularGridPositions(shape, fov, center, ones(Int,length(shape)))