Skip to content

Commit 6d2594d

Browse files
authored
Initialize flack as float.
1 parent 94a15fb commit 6d2594d

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
@@ -1444,7 +1444,7 @@ class Getzler(Player):
14441444

14451445
def __init__(self) -> None:
14461446
super().__init__()
1447-
self.flack = 0 # The relative untrustworthiness of opponent
1447+
self.flack = 0.0 # The relative untrustworthiness of opponent
14481448

14491449
def strategy(self, opponent: Player) -> Action:
14501450
if not opponent.history:

0 commit comments

Comments
 (0)