diff src/Grids/mapped_grid.jl @ 1571:c2620118f110 feature/grids/manifolds

Merge feature/grids/curvilinear
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 25 Apr 2024 14:00:40 +0200
parents 90af15f38c62 063a2bfb03da
children aeb561754248
line wrap: on
line diff
--- a/src/Grids/mapped_grid.jl	Thu Apr 25 13:51:54 2024 +0200
+++ b/src/Grids/mapped_grid.jl	Thu Apr 25 14:00:40 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),