Skip to content

Commit

Permalink
Raise tolerance for test_pes_comm_channel
Browse files Browse the repository at this point in the history
The test was fragile with the old tolerances, failing for many seeds.
  • Loading branch information
arvoelke authored and tbekolay committed Apr 15, 2019
1 parent fff7ead commit 35d24d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nengo_loihi/tests/test_learning.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,14 @@ def test_pes_comm_channel(dims, allclose, plt, seed, Simulator):

x_loihi = loihi_sim.data[probes['pre']]
assert allclose(x_loihi[pre_tmask], y_dpre[pre_tmask],
atol=0.1, rtol=0.05)
atol=0.15, rtol=0.05)

assert allclose(y_loihi[post_tmask], y_dpost[post_tmask],
atol=0.1, rtol=0.05)
atol=0.15, rtol=0.05)
assert allclose(y_loihi, y_nengo, atol=0.2, rtol=0.2)

assert allclose(y_real[post_tmask], y_dpost[post_tmask],
atol=0.1, rtol=0.05)
atol=0.15, rtol=0.05)
assert allclose(y_real, y_nengo, atol=0.2, rtol=0.2)


Expand Down

0 comments on commit 35d24d2

Please sign in to comment.