Mercurial > repos > public > sbplib_julia
diff src/Grids/grid.jl @ 1507:de7b76b61ecd feature/grids/componentview
Clearify docs of `component_type`
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 19 Feb 2024 15:56:03 +0100 |
parents | 06dec7b68f82 |
children | 6309ca375dcd |
line wrap: on
line diff
--- a/src/Grids/grid.jl Thu Jan 25 10:54:00 2024 +0100 +++ b/src/Grids/grid.jl Mon Feb 19 15:56:03 2024 +0100 @@ -35,7 +35,7 @@ """ component_type(gf) -The type of the components of `gf`. +The type of the components of the elements of `gf`. """ component_type(T::Type) = eltype(eltype(T)) component_type(t) = component_type(typeof(t))