sisl / GridInterpolations.jl

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

Cannot interpolate complex numbers when passing a 2d array #38

Closed eschnett closed 1 month ago

eschnett commented 2 years ago

When I pass a 2d array with complex numbers to interpolate, the code fails. I tries to convert the complex numbers to Float64.

mykelk commented 2 years ago

A PR is welcome---but make sure that performance on real-valued interpolations is not compromised since that is by far the most common use case.