Mercurial > repos > public > sbplib_julia
diff src/Grids/grid.jl @ 1557:9113f437431d feature/grids/curvilinear
Merge default
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Sat, 13 Apr 2024 23:52:40 +0200 |
parents | 4df668d00d03 d641798539c2 |
children | e213bd857f3f b02917bcd7d5 |
line wrap: on
line diff
--- a/src/Grids/grid.jl Tue Apr 09 15:26:49 2024 +0200 +++ b/src/Grids/grid.jl Sat Apr 13 23:52:40 2024 +0200 @@ -142,6 +142,7 @@ return LazyTensors.LazyFunctionArray((I...)->f(g[I...]), size(g)) else # TBD This branch can be removed if we accept the trade off that we define f with the syntax f((x,y)) instead if we don't want to handle the vector in the body of f. (Add an example in the docs) + # Also see Notes.md return LazyTensors.LazyFunctionArray((I...)->f(g[I...]...), size(g)) end end