[Numpy-discussion] Non-deterministic test failure in master
Pierre Haessig
pierre.haessig@crans....
Thu Jun 28 01:13:56 CDT 2012
Hi Nathaniel,
Le 27/06/2012 20:22, Nathaniel Smith a écrit :
> According to the Travis-CI build logs, this code produces
> non-deterministic behaviour in master:
You mean non-deterministic across different builds, not across different
executions on the same build, right ?
I just ran a small loop :
N = 10000
N_good = 0
for i in range(N):
a = np.arange(5)
a[:3] = a[2:]
if (a == [2,3,4,3,4]).all():
N_good += 1
print 'good result : %d/%d' % (N_good, N)
and got 100 % good replication.
Best,
Pierre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
Url : http://mail.scipy.org/pipermail/numpy-discussion/attachments/20120628/f9463168/attachment.bin
More information about the NumPy-Discussion
mailing list