From: Francesc A. <fa...@ca...> - 2006-09-20 14:34:51
|
A Dimecres 20 Setembre 2006 12:48, Travis Oliphant va escriure: > Making sure you get the correct data-type is why there are NPY_INT32 and > NPY_INT64 enumerated types. You can't code using NPY_LONG and expect > it will give you the same sizes when moving from 32-bit and 64-bit > platforms. That's a problem that has been fixed with the bitwidth > types. I don't understand why you are using the enumerated types at all > in this circumstance. Ooops. I didn't know that NPY_INT32 and NPY_INT64 were there. I think this= =20 solves all my problems. In fact, you were proposing this from the very=20 beginning, but I was confused because I was hoping to find NPY_INT32 and=20 NPY_INT64 in NPY_TYPES enumerated and I didn't find it there. I didn't=20 realized that NPY_INT32 and NPY_INT64 were defined outside NPY_TYPES as=20 platform independent constants. Blame on me. Sorry about any inconveniences and thanks once more for your=20 patience! =2D-=20 >0,0< Francesc Altet =A0 =A0 http://www.carabos.com/ V V C=E1rabos Coop. V. =A0=A0Enjoy Data "-" |