[Numpy-discussion] numarray 0.5 bug
Peter Verveer
verveer at embl-heidelberg.de
Wed May 7 04:19:03 CDT 2003
In numarray 0.5, the PyArray_ContiguousFromObject() does not appear to work
correctly with Python scalar objects, if the requested type is not equal to
the type of the object. (I believe that this function should convert the
input to an array of the requested type?)
For instance, PyArray_ContiguousFromObject(object, tInt32, 0, 1))) works
correctly if object is a python integer, but not if it is a float number.
Cheers, Peter
--
Dr. Peter J. Verveer
Cell Biology and Cell Biophysics Programme
EMBL
Meyerhofstrasse 1
D-69117 Heidelberg
Germany
Tel. : +49 6221 387245
Fax : +49 6221 387242
Email: Peter.Verveer at embl-heidelberg.de
More information about the Numpy-discussion
mailing list