[Numpy-discussion] change of default dtype
wbaxter at gmail.com
Wed Sep 20 23:00:35 CDT 2006
Hey Andrew, point taken, but I think it would be better if someone who
actually knows the full extent of the change made the edit. I know
zeros and ones changed. Did anything else?
Anyway, I'm surprised the release notes page is publicly editable.
On 9/21/06, Andrew Straw <strawman at astraw.com> wrote:
> It is a wiki, and contributions are absolutely welcome, so please go
> ahead and change it to be more clear.
> Bill Baxter wrote:
> >I think that's supposed to be covered by this line:
> >"The default array data-type is now float64 (c double precision)
> >instead of c integer."
> >But yeh, I agree. It's definitely not obvious what that means in
> >terms of concrete API changes.
> >On 9/21/06, David Grant <davidgrant at gmail.com> wrote:
> >>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
More information about the Numpy-discussion