summaryrefslogtreecommitdiff
path: root/numpy/f2py/tests/test_compile_function.py
diff options
context:
space:
mode:
authorMarten van Kerkwijk <mhvk@astro.utoronto.ca>2018-09-19 09:45:43 -0400
committerMarten van Kerkwijk <mhvk@astro.utoronto.ca>2018-09-19 09:51:05 -0400
commitde46fecdecf6a5ed40991ffc82d4bfc36d74c10d (patch)
treefd3c31a8bf3b358c3122f7fa564f1022f17b81d9 /numpy/f2py/tests/test_compile_function.py
parent9741ce23eeeb972d5097cd8d5a835c67fb40ff26 (diff)
downloadnumpy-de46fecdecf6a5ed40991ffc82d4bfc36d74c10d.tar.gz
BUG: Ensure boolean indexing of subclasses sets base correctly.
Corrects a mistake in gh-11246, where the base for this case was set to the indexed subclass instance (like for a view). Since a copy is made in this case, the base should be the new ndarray that holds the indexed values. Thanks to @yymao for noticing and reporting the bug in astropy.
Diffstat (limited to 'numpy/f2py/tests/test_compile_function.py')
0 files changed, 0 insertions, 0 deletions