sisl / GridInterpolations.jl

Multidimensional grid interpolation in arbitrary dimensions
Other
52 stars 12 forks source link

ind2x!(x, grid ind) #33

Open zsunberg opened 4 years ago

zsunberg commented 4 years ago

To be consistent with the julia style guide https://docs.julialang.org/en/v1/manual/style-guide/index.html#Write-functions-with-argument-ordering-similar-to-Julia-Base-1, we should have

ind2x!(x, grid, ind)

rather than

ind2x!(grid, ind, x)

This should not be a terrible change since we can do

@deprecate ind2x!(grid::AbstractGrid, ind, x) ind2x!(x, grid, ind)

There may be other functions that should be changed as well.