Skip to content

Commit

Permalink
metrics.py: fix compatibility with scipy >=1.13 (#344)
Browse files Browse the repository at this point in the history
- closes #342
  • Loading branch information
mattpitkin authored Apr 23, 2024
1 parent 58368d9 commit e753328
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pyroomacoustics/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
import platform

import numpy as np
from scipy.signal import hann

try:
from scipy.signal import hann
except ImportError:
from scipy.signal.windows import hann

from scipy.stats import binom as _binom
from scipy.stats import norm as _norm

Expand Down

0 comments on commit e753328

Please sign in to comment.