[Numpy-discussion] change of default dtype

David Grant davidgrant at gmail.com
Wed Sep 20 19:41:56 EDT 2006


I noticed that the default dtype for the "ones" and "zeros" functions is now
float, whereas it used to be int. Should this be noted at
http://www.scipy.org/ReleaseNotes/NumPy_1.0 since it does break code (if you
are using the array you creating with ones or zeros as indices into another
array).

-- 
David Grant
http://www.davidgrant.ca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20060920/8b448b0c/attachment.html>


More information about the NumPy-Discussion mailing list