[SciPy-dev] returning string by f2py

Pearu Peterson pearu@cens.ioc...
Tue Mar 11 08:14:37 CDT 2008


On Tue, March 11, 2008 10:50 am, dmitrey wrote:
> hi all,
> I have modified bvls.f file to make it good enough to be connected to
> scipy (add istop and msg - integer & string description of stop case).
>
> However, I always get same msg value that I pass to the routine (via
> f2py).
>
> Could anyone check the modified bvls.f file?
> http://scipy.org/scipy/scikits/attachment/wiki/OOFiles/bvls.f
>
> (Or mb something should be modified in Python code?)

Can you give an example how to create the wrapper
and how to you use it from Python? Until that I can only
suggest using intent(out) for msg argument.

Pearu



More information about the Scipy-dev mailing list