[Numpy-discussion] problem with factorial?

Roberto De Almeida roberto@dealmeida....
Fri May 9 09:16:01 CDT 2008

On Fri, May 9, 2008 at 10:53 AM, Neal Becker <ndbecker2@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_


More information about the Numpy-discussion mailing list