BUG: RegularGridInterpolator.__call__ fails when grid points arrays aren't C-contiguous in v1.10 #17740
Labels
defect
A clear bug or issue that prevents SciPy from being installed or used as expected
duplicate
Issues that describe the same problem or that are reported multiple times
scipy.interpolate
Describe your issue.
scipy.interpolate.RegularGridInterpolator.__call__()
raises an exception when one or more arrays of grid coordinates used to construct the interpolator are non-C-contiguous.This appears to be new behavior in v1.10.0. In previous versions, there was no such restriction that these arrays must be C-contiguous -- the interpolator would produce valid results instead of raising an exception.
Reproducing Code Example
Error message
SciPy/NumPy/Python version information
1.10.0 1.24.1 sys.version_info(major=3, minor=9, micro=15, releaselevel='final', serial=0)
The text was updated successfully, but these errors were encountered: