[SciPy-user] [f2py] bool array...

fred fredmfp@gmail....
Thu Aug 23 08:01:00 CDT 2007


Hi,

I want to return a boolean array from my fortran code,
but I get a int32 ?

What am I doing wrong ?

Any clue ?

I could still convert it to bool, of course...

Please see the CME attached that shows the trick.

TIA.

Cheers,

-- 
http://scipy.org/FredericPetit

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: f2py_test.f90
Url: http://projects.scipy.org/pipermail/scipy-user/attachments/20070823/0eb29cbc/attachment.pl 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: f2py_test.py
Type: text/x-python
Size: 297 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/scipy-user/attachments/20070823/0eb29cbc/attachment.py 


More information about the SciPy-user mailing list