Mercurial > repos > public > sbplib_julia
changeset 1391:9da927271752 bugfix/grids/complete_interface_impl
Add TBD
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 15 Aug 2023 22:40:50 +0200 |
parents | 47931bef8471 |
children | 60857d8338cb |
files | src/Grids/tensor_grid.jl |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/Grids/tensor_grid.jl Tue Aug 15 22:39:34 2023 +0200 +++ b/src/Grids/tensor_grid.jl Tue Aug 15 22:40:50 2023 +0200 @@ -42,6 +42,7 @@ i, ld = grid_and_local_dim_index(ndims.(g.grids), d) return lastindex(g.grids[i], ld) end +# TBD: Should the two above functions be supported by implementing `axes` instead? # Iteration interface Base.iterate(g::TensorGrid) = iterate(Iterators.product(g.grids...)) |> _iterate_combine_coords