You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

factorial.patch 531B

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