Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
wtq2255 committed Jan 23, 2024
1 parent 25dfb55 commit 09ec368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/audioflux/utils/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def temproal_db(X, base=18.):
"""
X = np.asarray(X, dtype=np.float32, order='C')
if X.ndim != 1:
raise ValueError(f"X[ndim={x.ndim}] must be a 1D array")
raise ValueError(f"X[ndim={X.ndim}] must be a 1D array")

fn = get_fft_lib()['util_temproal']
fn.argtypes = [
Expand Down

0 comments on commit 09ec368

Please sign in to comment.