Skip to content

Commit 6e622f2

Browse files
committed
Fix adaptive pavlov.
1 parent 24013c2 commit 6e622f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

axelrod/strategies/apavlov.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class APavlov2006(Player):
2929

3030
def __init__(self) -> None:
3131
super().__init__()
32-
self.opponent_class = ""
32+
self.opponent_class = None
3333

3434
def strategy(self, opponent: Player) -> Action:
3535
# TFT for six rounds
@@ -96,7 +96,7 @@ class APavlov2011(Player):
9696

9797
def __init__(self) -> None:
9898
super().__init__()
99-
self.opponent_class = ""
99+
self.opponent_class = None
100100

101101
def strategy(self, opponent: Player) -> Action:
102102
# TFT for six rounds

0 commit comments

Comments
 (0)