We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fba2749 commit 26eee39Copy full SHA for 26eee39
src/axelrod_fortran/player.py
@@ -51,7 +51,6 @@ def __init__(self, original_name):
51
if is_stochastic is not None:
52
self.classifier['stochastic'] = is_stochastic
53
54
-
55
def __enter__(self):
56
return self
57
@@ -105,7 +104,7 @@ def strategy(self, opponent):
105
104
my_last_move = original_actions[self.history[-1]]
106
move_number = len(self.history) + 1
107
if self.classifier["stochastic"]:
108
- random_value = random.random()
+ random_value = self._random.random()
109
else:
110
random_value = 0
111
original_action = self.original_strategy(
0 commit comments