From: Francesc A. <fa...@ca...> - 2007-01-18 09:53:11
|
A Dimecres 17 Gener 2007 00:29, Jan Strube escrigu=C3=A9: > Hi Francesc, > I'm sorry, but this fix still doesn't do it for me. > It now runs without messages, but the result is different from casting to > long. > In other words running table.where(col1 =3D=3D rumber) runs, but the resu= lt is > different from table.where(col1 =3D=3D long(number)) > > I don't have a good testcase handy (my case is 17M), but have you > considered unsigned types as well ? I think so. I've used the scalar.item() method for NumPy and the scalar[()]= =20 getitem for numarray in order to get the python scalar counterparts, so it= =20 should handle all the cases. > When I have some time I try and reduce the test case to something more > manageable. That would be great. Cheers, =2D-=20 >0,0< Francesc Altet =C2=A0 =C2=A0 http://www.carabos.com/ V V C=C3=A1rabos Coop. V. =C2=A0=C2=A0Enjoy Data "-" |