From: David G. <dav...@gm...> - 2006-09-20 23:42:01
|
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 |
From: Bill B. <wb...@gm...> - 2006-09-21 00:04:05
|
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 <dav...@gm...> 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 > Num...@li... > https://lists.sourceforge.net/lists/listinfo/numpy-discussion > > > |
From: Andrew S. <str...@as...> - 2006-09-21 00:39:43
|
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 <dav...@gm...> 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 >>Num...@li... >>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 >Num...@li... >https://lists.sourceforge.net/lists/listinfo/numpy-discussion > > |
From: Bill B. <wb...@gm...> - 2006-09-21 04:00:37
|
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 <str...@as...> 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. > > > >--bb > > > >On 9/21/06, David Grant <dav...@gm...> 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 > >> > >> |
From: David G. <dav...@gm...> - 2006-09-21 23:23:57
|
On 9/20/06, Bill Baxter <wb...@gm...> wrote: > > 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 |