Re: [Numpy-discussion] Numeric/numpy incompatibility

2006-08-28 Thread Travis Oliphant
Andrew Straw wrote: > The following code indicates there is a problem adding a numpy scalar > type to a Numeric array. Is this expected behavior or is there a bug > somewhere? > There was a bug in the __array_struct__ attribute of array flags wherein the NOTSWAPPED flag was not being set as it

[Numpy-discussion] Numeric/numpy incompatibility

2006-08-28 Thread Andrew Straw
The following code indicates there is a problem adding a numpy scalar type to a Numeric array. Is this expected behavior or is there a bug somewhere? This bit me in the context of updating some of my code to numpy, while part of it still uses Numeric. import Numeric import numpy print 'Numeric._