Mercurial > repos > public > sbplib_julia
diff src/Grids/mapped_grid.jl @ 1570:063a2bfb03da feature/grids/curvilinear
Fix bugs in calls to equidistant_grid after merge with default
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 25 Apr 2024 13:57:42 +0200 |
parents | 5d32ecb98db8 |
children | c2620118f110 64452a678e7a |
line wrap: on
line diff
--- a/src/Grids/mapped_grid.jl Thu Apr 25 09:03:04 2024 +0200 +++ b/src/Grids/mapped_grid.jl Thu Apr 25 13:57:42 2024 +0200 @@ -53,7 +53,7 @@ function mapped_grid(x, J, size...) D = length(size) - lg = equidistant_grid(size, ntuple(i->0., D), ntuple(i->1., D)) + lg = equidistant_grid(ntuple(i->0., D), ntuple(i->1., D), size...) return MappedGrid( lg, map(x,lg),