Mercurial > repos > public > sbplib_julia
changeset 1403:efd992899896 feature/grids/scalar_eval_on
REVIEW: Add a review comment
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 22 Aug 2023 15:39:05 +0200 |
parents | 2d9eb2d07802 |
children | 2ad518182b37 |
files | src/Grids/grid.jl |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/Grids/grid.jl Tue Aug 22 15:31:59 2023 +0200 +++ b/src/Grids/grid.jl Tue Aug 22 15:39:05 2023 +0200 @@ -96,7 +96,7 @@ Lazy evaluation of a scalar `f` on the grid. -For concrete array grid functions `map(f,g)` can be used instead. +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))