Skip to content

Commit

Permalink
Merge pull request #19 from wbwallace/patch-1
Browse files Browse the repository at this point in the history
Change scipy.misc.factorial to scipy.special.factorial (deprecation warning).
  • Loading branch information
clwainwright authored Dec 31, 2019
2 parents 6a506ef + 0ae120c commit ba33397
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cosmoTransitions/finiteT.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
import numpy
from scipy import integrate, interpolate
from scipy import special
from scipy.misc import factorial as fac
try:
from scipy.misc import factorial as fac
except ImportError:
from scipy.special import factorial as fac

pi = numpy.pi
euler_gamma = 0.577215661901532
Expand Down

0 comments on commit ba33397

Please sign in to comment.