Sebastian Haase wrote:
> Hi!
> I'm trying to convert my numarray records code to numpy.
> >>> type(m.hdrArray)
> <class 'numpy.core.records.recarray'>
> >>> m.hdrArray.d
> [(array([ 1., 1., 1.], dtype=float32),)]
>
> but I get:
> >>> m.hdrArray[0].getfield('d')
> 5.43230922614e-312
>
> Am I missing something or is this a bug ?
>
Probably a bug. The getfield method needs more testing. File a ticket.
-Travis
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/numpy-discussion