diff options
author | Marten van Kerkwijk <mhvk@astro.utoronto.ca> | 2018-09-19 09:45:43 -0400 |
---|---|---|
committer | Marten van Kerkwijk <mhvk@astro.utoronto.ca> | 2018-09-19 09:51:05 -0400 |
commit | de46fecdecf6a5ed40991ffc82d4bfc36d74c10d (patch) | |
tree | fd3c31a8bf3b358c3122f7fa564f1022f17b81d9 /numpy/f2py/tests/test_compile_function.py | |
parent | 9741ce23eeeb972d5097cd8d5a835c67fb40ff26 (diff) | |
download | numpy-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