Skip to content

Commit

Permalink
Make test deterministic.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Hale committed Jul 5, 2024
1 parent 511d01f commit 7582e66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_sgw.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def test_cayley_multifilter_multisignal(self):
[2, 0, 0, 1],
]
g = sgw.CayleyFilter(G, coeffs)
signals = np.array([np.ones(G.N), np.random.default_rng().random(G.N)]).T
signals = np.array([np.ones(G.N), np.random.default_rng(seed=89).random(G.N)]).T
expected = g.filter(signals, method="exact")
out1 = g.filter(signals, method="cayley-exact")
out2 = g.filter(signals, method="cayley")
Expand Down

0 comments on commit 7582e66

Please sign in to comment.