Skip to content

Commit 3df78f6

Browse files
authored
Minor formatting
1 parent 6d2594d commit 3df78f6

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
@@ -1453,4 +1453,4 @@ def strategy(self, opponent: Player) -> Action:
14531453
self.flack += 1 if opponent.history[-1] == D else 0
14541454
self.flack *= 0.5 # Defections have half-life of one round
14551455

1456-
return random_choice(1.0-self.flack)
1456+
return random_choice(1.0 - self.flack)

0 commit comments

Comments
 (0)