Re: [Numpy-discussion] NPY_FORCECAST

2008-01-25 Thread Travis E. Oliphant
Bill Spotz wrote: Hi, I am currently using PyArray_FromObject() to convert an input argument to a 32-bit integer array. On a 64-bit architecture, it is easy to create an integer array whose default type is 64-bit. When this is sent to PyArray_FromObject(), it raises an error, saying

[Numpy-discussion] NPY_FORCECAST

2008-01-25 Thread Bill Spotz
Hi, I am currently using PyArray_FromObject() to convert an input argument to a 32-bit integer array. On a 64-bit architecture, it is easy to create an integer array whose default type is 64-bit. When this is sent to PyArray_FromObject(), it raises an error, saying array cannot be