Skip to content

Commit

Permalink
Update finiteT.py
Browse files Browse the repository at this point in the history
factorial has moved from scipy.misc to scipy.special
  • Loading branch information
wbwallace authored Dec 24, 2019
1 parent 8228e48 commit 0ae120c
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 0ae120c

Please sign in to comment.