3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/audio/friture/factorial.patch
Gwendolyn Quasebarth daac44f01a friture: init at 0.36
2019-10-05 10:13:39 +02:00

14 lines
531 B
Diff

diff --git a/friture/filter_design.py b/friture/filter_design.py
index 9876c43..1cc749a 100644
--- a/friture/filter_design.py
+++ b/friture/filter_design.py
@@ -2,7 +2,7 @@
from numpy import pi, exp, arange, cos, sin, sqrt, zeros, ones, log, arange, set_printoptions
# the three following lines are a workaround for a bug with scipy and py2exe
# together. See http://www.pyinstaller.org/ticket/83 for reference.
-from scipy.misc import factorial
+from scipy.special import factorial
import scipy
scipy.factorial = factorial