10000 BUG: Fix misuse of .names and .fields in various places by eric-wieser · Pull Request #14290 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge remote-tracking branch 'upstream/master' into fix-if-fields
  • Loading branch information
eric-wieser committed Aug 20, 2019
commit 0f5e376d3eb6118b783cdd3ecd27722c2d1934ba
2 changes: 1 addition & 1 deletion numpy/lib/recfunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def _zip_dtype(seqarrays, flatten=False):
current = a.dtype
if current.names is not None and len(current.names) == 1:
# special case - dtypes of 1 field are flattened
newdtype.extend(get_fieldspec(current))
newdtype.extend(_get_fieldspec(current))
else:
newdtype.append(('', current))
return np.dtype(newdtype)
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.
0