Made test more robust

master
Per A Brodtkorb 9 years ago
parent b00046d4e3
commit e6ab39cbe7

@ -26,7 +26,7 @@ def test_rind():
assert(np.abs(E0 - Et) < 2*(err0 + terr0)) assert(np.abs(E0 - Et) < 2*(err0 + terr0))
t = '%2.4f' % E0 t = '%2.4f' % E0
t_true = '%2.5f' % Et t_true = '%2.4f' % Et
assert(t == t_true) assert(t == t_true)
A = np.repeat(Blo, n) A = np.repeat(Blo, n)

Loading…
Cancel
Save