[Numpy-discussion] could anyone check on a 32bit system?

Yaroslav Halchenko lists@onerussian....
Tue Apr 30 22:08:49 CDT 2013


could anyone on 32bit system with fresh numpy (1.7.1) test following:

> wget -nc http://www.onerussian.com/tmp/data.npy ; python -c 'import numpy as np; data1 = np.load("/tmp/data.npy"); print  np.sum(data1[1,:,0,1]) - np.sum(data1, axis=1)[1,0,1]' 

0.0

because unfortunately it seems on fresh ubuntu raring (in 32bit build only,
seems ok in 64 bit... also never ran into it on older numpy releases):

> python -c 'import numpy as np; data1 = np.load("/tmp/data.npy"); print  np.sum(data1[1,:,0,1]) - np.sum(data1, axis=1)[1,0,1]'
-1.11022302463e-16

PS detected by failed tests of pymvpa

-- 
Yaroslav O. Halchenko, Ph.D.
http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
Senior Research Associate,     Psychological and Brain Sciences Dept.
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik        


More information about the NumPy-Discussion mailing list