summaryrefslogtreecommitdiff
path: root/numpy/f2py/tests/test_compile_function.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2018-08-17 14:02:47 -0600
committerCharles Harris <charlesr.harris@gmail.com>2018-08-17 16:43:07 -0600
commitfc2df52313c6db5ba4ccbd10b233cee6b4acec2c (patch)
treeb1f780f424d67538366d69fa9aa097e274f7aee2 /numpy/f2py/tests/test_compile_function.py
parent3026928b86b12543e9e4738ed91bc2a2cd6cb07f (diff)
downloadnumpy-fc2df52313c6db5ba4ccbd10b233cee6b4acec2c.tar.gz
BUG: Fix regression in intersect1d.
The function was failing for non-ndarray objects that defined that defined __array__, in particular `xarray.DataArray`. Fix by calling asanyarray on the inputs, which was done implicitly before. Closes #11772.
Diffstat (limited to 'numpy/f2py/tests/test_compile_function.py')
0 files changed, 0 insertions, 0 deletions