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

Skip to content

BUG: Fix misuse of .names and .fields in various places (backport 14290 to 1.17) #14339

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Aug 23, 2019
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/maintenance/1.17.x' into fix-i…
…f-fields
  • Loading branch information
eric-wieser committed Aug 23, 2019
commit 8e310ecf3ed5163c11a5bb9cbdb2e3d0b5182441
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