Skip to content

Commit be3b738

Browse files
committed
cleanup
1 parent d386103 commit be3b738

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

axelrod/result_set.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ def summarise(self):
709709
median_scores = map(np.nanmedian, self.normalised_scores)
710710
median_wins = map(np.nanmedian, self.wins)
711711

712-
original_index = {index for index, _player in enumerate(self.players)}
712+
original_index = [index for index, _player in enumerate(self.players)]
713713

714714
self.player = namedtuple(
715715
"Player",

axelrod/tests/unit/test_resultset.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,7 @@ def test_summarise_regression_test(self):
638638
]
639639
tournament = axl.Tournament(players, turns=10, repetitions=3)
640640
results = tournament.play()
641+
641642
summary = [
642643
(
643644
0,

docs/tutorials/new_to_game_theory_and_or_python/summarising_tournaments.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ It is also possible to write this data directly to a csv file using the
3838
['2', 'Grudger', ...]
3939
['3', 'Cooperator', ...]
4040

41-
41+
4242
The result set class computes a large number of detailed outcomes read about
4343
those in :ref:`tournament-results`.

0 commit comments

Comments
 (0)