Fixes to Numexpr under 64 bit platforms
Hi all, here you have a patch that fixes some type declaration bugs which cause Numexpr to crash under 64 bit platforms. All of them are confusions between the ``int`` and ``intp`` types, which happen to be the same under 32 bit platforms but not under 64 bit ones, which caused garbage values to be used as shapes and strides. The errors where easy to spot by looking at the warnings yielded by the compiler. Changes have been tested under a Dual Core AMD Opteron 270 running SuSE 10.0 X86-64 with Python 2.4 and 2.5. Have nice holidays, :: Ivan Vilata i Balaguer >qo< http://www.carabos.com/ Cárabos Coop. V. V V Enjoy Data ""
Ei! de puta mare! A Dimarts 26 Desembre 2006 10:00, Ivan Vilata i Balaguer escrigué:
Hi all, here you have a patch that fixes some type declaration bugs which cause Numexpr to crash under 64 bit platforms. All of them are confusions between the ``int`` and ``intp`` types, which happen to be the same under 32 bit platforms but not under 64 bit ones, which caused garbage values to be used as shapes and strides.
The errors where easy to spot by looking at the warnings yielded by the compiler. Changes have been tested under a Dual Core AMD Opteron 270 running SuSE 10.0 X86-64 with Python 2.4 and 2.5.
Have nice holidays,
Ivan Vilata i Balaguer >qo< http://www.carabos.com/ Cárabos Coop. V. V V Enjoy Data ""
--
0,0< Francesc Altet http://www.carabos.com/ V V Cárabos Coop. V. Enjoy Data "-"
participants (2)
-
Francesc Altet
-
Ivan Vilata i Balaguer