Open GoogleCodeExporter opened 9 years ago
Resolved in r81
Original comment by Per.Andreas.Brodtkorb@gmail.com
on 8 Feb 2011 at 9:31
File "test_gaussian.py", line 22, in __main__.test_rind
Failed example:
'E0 = %2.6f' % E0
Expected:
'E0 = 0.001946'
Got:
'E0 = 0.001945'
**********************************************************************
File "test_gaussian.py", line 40, in __main__.test_rind
Failed example:
rind(Sc,m,Blo,Bup,indI, xc, nt=0)
Expected:
(array([ 0.05494076]), array([ 0.00083066]), array([ 1.00000000e-10]))
Got:
(array([ 0.05525465]), array([ 0.00078925]), array([ 1.00000000e-10]))
**********************************************************************
1 items had failures:
2 of 31 in __main__.test_rind
***Test Failed*** 2 failures.
Original comment by nils...@googlemail.com
on 9 Feb 2011 at 6:27
This is actally not a failure, because Rind uses the random generator to
estimate the integral. Thus the integral value will slightly change from
computer to computer. The numbers are though 99% of the time equal up to the
requested accuracy.
Original comment by Per.Andreas.Brodtkorb@gmail.com
on 13 Feb 2011 at 11:31
Original issue reported on code.google.com by
nils...@googlemail.com
on 8 Feb 2011 at 7:14