Skip to content

Commit 94a15fb

Browse files
authored
Minor fix formatting
1 parent ede7cad commit 94a15fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

axelrod/strategies/axelrod_second.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1450,7 +1450,7 @@ def strategy(self, opponent: Player) -> Action:
14501450
if not opponent.history:
14511451
return C
14521452

1453-
self.flack += 1 if opponent.history[-1]==D else 0
1453+
self.flack += 1 if opponent.history[-1] == D else 0
14541454
self.flack *= 0.5 # Defections have half-life of one round
14551455

14561456
return random_choice(1.0-self.flack)

0 commit comments

Comments
 (0)