summaryrefslogtreecommitdiff
path: root/numpy/core/function_base.py
diff options
context:
space:
mode:
authorAllan Haldane <allan.haldane@gmail.com>2015-10-17 14:00:36 -0400
committerAllan Haldane <allan.haldane@gmail.com>2015-10-17 21:52:13 -0400
commit3a816a4db9b498eb64eb837fdcca0fa8ddbe063e (patch)
treed6b554305d7ccb7c712da4c81a633f9bbd1741bd /numpy/core/function_base.py
parentaaf115d89c591f0fa8149f1d6851589c79fa656a (diff)
downloadnumpy-3a816a4db9b498eb64eb837fdcca0fa8ddbe063e.tar.gz
BUG: recarrays viewed as subarrays don't convert to np.record type
Record array views were updated in #5943 to return np.record dtype where possible, but forgot about the case of sub-arrays. That's fixed here, so accessing subarray fields by attribute or index works sensibly, as well as viewing a record array as a subarray dtype, and printing subarrays. This also happens to fix #6459, since it affects the same lines. Fixes #6497 #6459
Diffstat (limited to 'numpy/core/function_base.py')
0 files changed, 0 insertions, 0 deletions