Skip to content

Commit

Permalink
Merge b80b44b into ed82ba1
Browse files Browse the repository at this point in the history
  • Loading branch information
carlthome committed Jan 13, 2018
2 parents ed82ba1 + b80b44b commit 0321ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion librosa/util/utils.py
Expand Up @@ -1736,7 +1736,7 @@ def tiny(x):
x = np.asarray(x)

# Only floating types generate a tiny
if np.issubdtype(x.dtype, float) or np.issubdtype(x.dtype, complex):
if np.issubdtype(x.dtype, np.dtype(float).type) or np.issubdtype(x.dtype, np.dtype(complex).type):
dtype = x.dtype
else:
dtype = np.float32
Expand Down

0 comments on commit 0321ffa

Please sign in to comment.