Skip to content

Commit a45d82f

Browse files
committed
Fix some broken rst.
1 parent e94f8d2 commit a45d82f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/how-to/use_custom_matches.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ creates a new class of a match where both players end with a score of 2::
1313
... def final_score_per_turn(self):
1414
... return 2, 2
1515

16-
We can now create a Moran process like we normally would and pass our custom :code:`MassBaseMatch` to the moran process with the :code:`match_class` keyword argument::
16+
We can now create a Moran process like we normally would and pass our custom
17+
:code:`MassBaseMatch` to the moran process with the :code:`match_class` keyword
18+
argument::
1719

1820
>>> players = [axl.Cooperator(), axl.Defector(), axl.TitForTat(), axl.Grudger()]
1921
>>> mp = axl.MoranProcess(players=players, match_class=MassBaseMatch, seed=0)

docs/tutorials/creating_heterogenous_player_moran_process/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ modification of individual strategies::
3232
>>> set_player_mass(players, masses)
3333

3434
The :code:`Match` class can be partially altered to enable different behaviour
35-
(see :ref:`use-custom-matches`_).
35+
(see :ref:`use-custom-matches`).
3636
Here we extend :code:`axl.Match` and overwrite its
3737
:code:`final_score_per_turn()` function to utilize the player mass attribute as
3838
a multiplier for the final score::

0 commit comments

Comments
 (0)