Mercurial > repos > public > sbplib_julia
changeset 1418:e82240df974d bugfix/grids/complete_interface_impl
Correct spelling
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Thu, 24 Aug 2023 20:35:06 +0200 |
parents | 18e21601da2d |
children | 715f1c16f1fc |
files | src/Grids/tensor_grid.jl |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/Grids/tensor_grid.jl Wed Aug 23 15:35:01 2023 +0200 +++ b/src/Grids/tensor_grid.jl Thu Aug 24 20:35:06 2023 +0200 @@ -112,7 +112,7 @@ ```julia gi, ldi = grid_and_local_dim_index(ndims.(g.grids), d) ``` -tells you which grid it belongs to (`gi`) and wich index it is at within that +tells you which grid it belongs to (`gi`) and which index it is at within that grid (`ldi`). """ function grid_and_local_dim_index(nds, d) @@ -123,5 +123,4 @@ else return (I, d-cumsum(nds)[I-1]) end - # TBD: Is there a cleaner way to compute this? end