Skip to content

Commit 185f321

Browse files
committed
Small refactor.
1 parent 0bc5104 commit 185f321

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

axelrod/result_set.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,7 @@ def _build_empty_metrics(self, keep_interactions=False):
916916
plist = range(self.nplayers)
917917
replist = range(self.nrepetitions)
918918
self.match_lengths = [[[0 for opponent in plist] for player in plist]
919-
for _ in range(self.nrepetitions)]
919+
for _ in replist]
920920
self.wins = [[0 for _ in replist] for player in plist]
921921
self.scores = [[0 for _ in replist] for player in plist]
922922
self.normalised_scores = [[[] for _ in replist] for player in plist]

0 commit comments

Comments
 (0)