Skip to content

Commit d321506

Browse files
committed
Merge branch 'master' into build-update
2 parents 001bcd3 + 7e173e8 commit d321506

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pyroomacoustics/metrics.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22
import platform
33

44
import numpy as np
5-
from scipy.signal import hann
5+
6+
try:
7+
from scipy.signal import hann
8+
except ImportError:
9+
from scipy.signal.windows import hann
10+
611
from scipy.stats import binom as _binom
712
from scipy.stats import norm as _norm
813

0 commit comments

Comments
 (0)