Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/tutorials/advanced/setting_a_seed.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ To seed a tournament we also pass a seed to the tournament at creation time:
>>> tournament = axl.Tournament(players, turns=5, repetitions=5, seed=seed)
>>> results = tournament.play(processes=1)
>>> tournament2 = axl.Tournament(players, turns=5, repetitions=5, seed=seed)
>>> results2 = tournament.play(processes=1)
>>> results2 = tournament2.play(processes=1)
>>> results.ranked_names == results2.ranked_names
True

Expand All @@ -65,7 +65,7 @@ rankings, will be the same.
>>> tournament = axl.Tournament(players, turns=5, repetitions=5, seed=201)
>>> results = tournament.play(processes=2)
>>> tournament2 = axl.Tournament(players, turns=5, repetitions=5, seed=201)
>>> results2 = tournament.play(processes=2)
>>> results2 = tournament2.play(processes=2)
>>> results.ranked_names == results2.ranked_names
True

Expand Down