Skip to content

Commit 00d7ea4

Browse files
committed
Remove obsolete if statement in GradualKiller
1 parent 7587d7a commit 00d7ea4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

axelrod/strategies/gradualkiller.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def strategy(self, opponent):
4040
# return D
4141
# return C
4242

43-
if len(self.history) >= 7:
44-
if opponent.history[5:7] == [D, D]:
45-
return D
43+
# if len(self.history) >= 7:
44+
if opponent.history[5:7] == [D, D]:
45+
return D
4646
return C

0 commit comments

Comments
 (0)