Skip to content

Commit

Permalink
Merge pull request #8 from jonashaag/patch-1
Browse files Browse the repository at this point in the history
Fix deprecation
  • Loading branch information
jfsantos authored Sep 27, 2020
2 parents 4c67370 + 67b0623 commit 6654f1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion srmrpy/hilbert.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def hilbert(x, N=None, axis=-1):
if len(x.shape) > 1:
ind = [newaxis] * x.ndim
ind[axis] = slice(None)
h = h[ind]
h = h[tuple(ind)]
y = ifft(Xf * h, axis=axis)
return y[:x.shape[axis]]

0 comments on commit 6654f1d

Please sign in to comment.