[SciPy-user] scipy 0.4.9 & typecode
fred
fredantispam at free.fr
Tue Jul 25 12:32:51 EDT 2006
Hi all,
Since I have upgraded scipy from 0.3.2 to 0.4.9, typecode(), used as
der = zeros(x.shape,x.typecode())
does not work anymore :
In [6]: x=array([1,2,3,1,2,4,5])
In [7]: der = zeros(x.shape,x.typecode())
---------------------------------------------------------------------------
exceptions.AttributeError Traceback (most
recent call last)
<ipython console>
AttributeError: 'numpy.ndarray' object has no attribute 'typecode'
Any suggestion ?
Cheers,
--
Fred.
More information about the SciPy-User
mailing list