diff src/Grids/tensor_grid.jl @ 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 48e16efaac7a 25af92b4a7ea af73340a8f0e e3a80ef08d09
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