Mercurial > repos > public > sbplib_julia
changeset 1407:2ad518182b37 feature/grids/scalar_eval_on
Remove incorrect comment in documentation
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Tue, 22 Aug 2023 21:55:57 +0200 |
parents | efd992899896 |
children | 887e052d5893 |
files | src/Grids/grid.jl |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/Grids/grid.jl Tue Aug 22 15:39:05 2023 +0200 +++ b/src/Grids/grid.jl Tue Aug 22 21:55:57 2023 +0200 @@ -95,8 +95,6 @@ eval_on(g::Grid, f::Number) Lazy evaluation of a scalar `f` on the grid. - -For concrete array grid functions `map(f,g)` can be used instead. # REVIEW: The suggested code doesn't seem to work and I don't think it needs to. Probably enough to just delete the remark? """ eval_on(g::Grid, f::Number) = return LazyTensors.LazyConstantArray(f, size(g))