Mercurial > repos > public > sbplib_julia
diff src/Grids/mapped_grid.jl @ 1913:e97f4352b8d0 feature/grids/manifolds
Merge feature/grids/parameter_spaces
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Sat, 01 Feb 2025 23:20:31 +0100 |
parents | 04c251bccbd4 dcbe8119fb0a |
children |
line wrap: on
line diff
--- a/src/Grids/mapped_grid.jl Sat Feb 01 22:17:39 2025 +0100 +++ b/src/Grids/mapped_grid.jl Sat Feb 01 23:20:31 2025 +0100 @@ -92,7 +92,6 @@ ) end -# TODO: Make sure all methods of `mapped_grid` are implemented correctly and tested. """ mapped_grid(x, J, size...) @@ -102,8 +101,7 @@ """ function mapped_grid(x, J, size::Vararg{Int}) D = length(size) - lg = equidistant_grid(ntuple(i->0., D), ntuple(i->1., D), size...) # TODO: Clean this up with ParamaterSpace once feature/grids/manifolds is merged - return mapped_grid(x, J, lg) + return mapped_grid(x, J, unithyperbox(D), size...) end """