Skip to content

Commit

Permalink
Merge 3e478f4 into ed82ba1
Browse files Browse the repository at this point in the history
  • Loading branch information
carlthome committed Jan 13, 2018
2 parents ed82ba1 + 3e478f4 commit c9bfb24
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.floating) or np.issubdtype(x.dtype, np.complexfloating):
dtype = x.dtype
else:
dtype = np.float32
Expand Down

0 comments on commit c9bfb24

Please sign in to comment.