[MATRIX-SIG] Possible bug in Numeric LoadArray function
Wed, 7 Jan 1998 14:14:26 -0800 (PST)
The LoadArray function in Numeric python seems to have a bug.
I have the following situation:
A pickled file for an integer array was created on an SGI Onyx.
This machine has 4 byte ints and 4 byte longs.
The picked file would not read on a DEC alpha (64 bit longs).
The reshape function in LoadArray failed because the
byte counts didn't match.
In this situation, LoadArray should load the pickle file
using 32 bit ints using the elementsize information and the
It could then optionally cast the resulting array to long.
MATRIX-SIG - SIG on Matrix Math for Python
send messages to: firstname.lastname@example.org
administrivia to: email@example.com