Skip to content

Commit

Permalink
review actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf authored and wesleybowman committed Mar 21, 2018
1 parent 4654454 commit 5ee4ba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utide/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def convert_unicode_arrays(b):
if val.dtype.kind == 'O':
newval = np.empty(shape=val.shape, dtype=val.dtype)
for k, x in enumerate(val):
if (isinstance(x, np.ndarray) and x.dtype.kind == 'U' and x.size == 1): # noqa
if isinstance(x, np.ndarray) and x.dtype.kind == 'U' and x.size == 1:
newval[k] = x.item()
else:
newval[k] = x
Expand Down

0 comments on commit 5ee4ba4

Please sign in to comment.