LapackError:non-native byte order
Hi everyone, In my system '<' is the native byte-order, but unless I change the byte-order label to '=', it won't work in linalg sub-module, but in others works OK. I am not sure whether this is an expected behavior or a bug?
import sys sys.byteorder 'little' a.dtype.byteorder '<' b.dtype.byteorder '<' c=a*b c.dtype.byteorder '=' d=npy.linalg.solve(a, c)
Traceback (most recent call last):
File "
cc=c.newbyteorder('<') cc.dtype.byteorder '<' d=npy.linalg.solve(a, cc)
Traceback (most recent call last):
File "
d=npy.linalg.solve(a.newbyteorder('='), c) d.shape (2000L, 1000L)
Thanks, LittleBigBrain
participants (4)
-
braingateway
-
LittleBigBrain
-
Matthew Brett
-
Pauli Virtanen