Hi,

The latest svn version of numpy seems to be causing a segmentation fault
when converting an array containing strings to floats using .astype().
It only seems to happen when converting 'from' strings. Casting between
numerical types and 'to' strings is no problem.

 :yves $ python -c "import numpy as N; print N.__version__; a =
N.asarray('2'); a.astype(float);print 'OK';"
 0.9.9.2844
 Segmentation fault

An older version of numpy (the one I used before this upgrade) works
perfectly though:

 :yves $ python -c "import numpy as N; print N.__version__; a =
N.asarray('2'); a.astype(float);print 'OK';"
 0.9.9.2655
 OK

Cheers,
YVES

-------------------------------------------------------------------------
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
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion

Reply via email to