[Numpy-discussion] problem with factorial?
Roberto De Almeida
roberto at dealmeida.net
Fri May 9 10:16:01 EDT 2008
On Fri, May 9, 2008 at 10:53 AM, Neal Becker <ndbecker2 at gmail.com> wrote:
> I noticed my fact function:
> from scipy.special import gamma
> def fact(x):
> return gamma (x+1)
>
> Looks like there's a conflict in scipy over the name 'gamma' (I guess this
> was pulled in later in my script when I did 'from pylab import *')
So don't do it, then. :)
Or, from scipy.special import gamma as gamma_
--Rob
More information about the NumPy-Discussion
mailing list