Skip to content

Commit f60277e

Browse files
better seeding
1 parent 7ec30e6 commit f60277e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_engines.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def test_to_function__numerically_works(self, link_with_ramp: int):
208208
)
209209
Fexp = get_hardcoded_dynamics(**other_pars, link_with_ramp=link_with_ramp)
210210

211-
np_random = np.random.Generator(np.random.PCG64(69420))
211+
np_random = np.random.default_rng(69420)
212212
names = Fact.name_out()
213213
for i in range(1_000):
214214
if i == 0:

0 commit comments

Comments
 (0)