Mercurial > repos > public > sbplib_julia
changeset 1908:dcbe8119fb0a feature/grids/parameter_spaces
Clean up mapped_grid a little but
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Sat, 01 Feb 2025 22:59:39 +0100 |
parents | 09c4fda8779d |
children | 4209290cb377 e97f4352b8d0 |
files | src/Grids/mapped_grid.jl |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/Grids/mapped_grid.jl Sat Feb 01 22:55:16 2025 +0100 +++ b/src/Grids/mapped_grid.jl Sat Feb 01 22:59:39 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 """