From: Simon B. <si...@ar...> - 2006-05-28 19:52:20
|
On Sun, 28 May 2006 14:33:37 -0500 Robert Kern <rob...@gm...> wrote: > > > if array.dtype == numpy.Int32: ... > > numpy.int32 No that doesn't work. >>> numpy.int32 <type 'int32scalar'> >>> numpy.int32 == numpy.dtype('l') False Simon. -- Simon Burton, B.Sc. Licensed PO Box 8066 ANU Canberra 2601 Australia Ph. 61 02 6249 6940 http://arrowtheory.com |