GridInterpolations.jl icon indicating copy to clipboard operation
GridInterpolations.jl copied to clipboard

ind2x!(x, grid ind)

Open zsunberg opened this issue 5 years ago • 0 comments

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.

zsunberg avatar Mar 06 '20 19:03 zsunberg