Mercurial > repos > public > sbplib_julia
diff src/Grids/tensor_grid.jl @ 1828:8adecef380b4 refactor/grids/iterable_boundary_indices
Add some todos
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 17 Sep 2024 11:20:00 +0200 |
parents | ab397590898e |
children | 871f3f1decea |
line wrap: on
line diff
--- a/src/Grids/tensor_grid.jl Tue Sep 17 11:19:08 2024 +0200 +++ b/src/Grids/tensor_grid.jl Tue Sep 17 11:20:00 2024 +0200 @@ -97,6 +97,7 @@ return view(_combine_indices(all_indices...), LazyTensors.concatenate_tuples(bla.(b_ind)...)...) end +# TODO: There must be a way to make the above code cleaner? # function _combine_indices(Is::Vararg{Union{Int, <:AbstractRange}}) function _combine_indices(Is...)