Mercurial > repos > public > sbplib_julia
diff src/Grids/grid.jl @ 1514:b6f6425e34ac refactor/component_type
Merge default
| author | Jonatan Werpers <jonatan@werpers.com> |
|---|---|
| date | Thu, 21 Mar 2024 15:38:30 +0100 |
| parents | 7476877c0b0e d7bc11053951 |
| children | 0cd6cf62af93 |
line wrap: on
line diff
--- a/src/Grids/grid.jl Thu Mar 21 08:00:05 2024 +0100 +++ b/src/Grids/grid.jl Thu Mar 21 15:38:30 2024 +0100 @@ -27,7 +27,7 @@ """ coordinate_size(g) -The lenght of the coordinate vector of `Grid` `g`. +The length of the coordinate vector of `Grid` `g`. """ coordinate_size(::Type{<:Grid{T}}) where T = _ncomponents(T) coordinate_size(g::Grid) = coordinate_size(typeof(g)) # TBD: Name of this function?!
