[SciPy-dev] lognormal(): TypeError: Cannot convert float to numpy.ndarray
rex at nosyntax.com
Mon Sep 11 17:41:10 CDT 2006
Robert Kern <robert.kern at gmail.com> [2006-09-11 15:34]:
> rex wrote:
> >>>> import scipy as S
> >>>> S.random.lognormal(0.,1.,7)
> > Traceback (most recent call last):
> > File "<stdin>", line 1, in ?
> > File "mtrand.pyx", line 930, in mtrand.RandomState.lognormal
> > TypeError: Cannot convert float to numpy.ndarray
> Thank you. The problem is in numpy, not scipy, but I found the problem and fixed
> it in SVN r3141.
Wow, that was fast!! Thanks much.
I don't know if this means I need to rebuild SciPy also, but I'll find
out soon enough...
More information about the Scipy-dev