[f2py] problem with a single row array argument

Brett Olivier bgoli at sun.ac.za
Wed Jul 13 14:26:44 EEST 2005


Hi Pearu, thanks for the fix.

This might not be part of the same issue, but the getrf output is still 
slightly different between the old and new f2py versions. This is only really 
noticeable when the the first element of the array is a zero.

Thanks
Brett

========Older F2PY ===========
SciPy version: 0.3.3_309.4624
F2PY version: 2.45.241_1926

arr = scipy.array([[0. 1. -1.]])
res = scipy.linalg.clapack.dgetrf(arr)

print res
(array([       [ 1.,  0., -1.]]), array([1],'i'), 0)

========CVS F2PY ===========
SciPy version: 0.3.3_309.4624
F2PY version: 2.46.243_1997

arr = scipy.array([[0.,1.,-1.]])
res = scipy.linalg.clapack.dgetrf(arr)

print res
(array([       [ 0.,  1., -1.]]), array([0],'i'), 1)

=========================

On Monday 11 July 2005 09:46, pearu at cens.ioc.ee wrote:

> It was f2py bug and is now fixed in CVS.
> Thanks for the bug report,
> Pearu
>
>
>
> _______________________________________________
> f2py-users mailing list
> f2py-users at cens.ioc.ee
> http://cens.ioc.ee/mailman/listinfo/f2py-users

 



More information about the f2py-users mailing list