[SciPy-dev] lognormal(): TypeError: Cannot convert float to numpy.ndarray
robert.kern at gmail.com
Mon Sep 11 18:14:33 CDT 2006
> Robert Kern <robert.kern at gmail.com> [2006-09-11 15:34]:
>> rex wrote:
>>>>>> import scipy as S
>>> 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...
Not for this fix. However, if the last time you built scipy was versus a rather
older version of numpy, then numpy's C API may have changed. But that wasn't my
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the Scipy-dev