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
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.
--bb
On 9/21/06, David Grant
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 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion
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.
--bb
On 9/21/06, David Grant
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 http://www.davidgrant.ca ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion
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.
--bb
On 9/21/06, Andrew Straw
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.
--bb
On 9/21/06, David Grant
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 http://www.davidgrant.ca
On 9/20/06, Bill Baxter
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.
I'm glad that it is editable. I hate wikis that are only editable by a select few. Defeats the purpose (or at least does not maximize the capability of a wiki). -- David Grant http://www.davidgrant.ca
participants (3)
-
Andrew Straw
-
Bill Baxter
-
David Grant