Skip to content

Commit 8c49ea3

Browse files
committed
Fix typo
1 parent 35833ac commit 8c49ea3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

axelrod/match.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def _cache_update_required(self):
130130
A boolean to show whether the deterministic cache should be updated.
131131
"""
132132
return (
133-
not self.is_stochastic
133+
not self._stochastic
134134
and not self.noise
135135
and self._cache.mutable
136136
and not (any(Classifiers["stochastic"](p) for p in self.players))
@@ -195,9 +195,7 @@ def play(self):
195195
p.set_seed(self._random.random_seed_int())
196196
result = []
197197
for _ in range(turns):
198-
plays = self.simultaneous_play(
199-
self.players[0], self.players[1], self.noise
200-
)
198+
plays = self.simultaneous_play(self.players[0], self.players[1], self.noise)
201199
result.append(plays)
202200

203201
if self._cache_update_required:

0 commit comments

Comments
 (0)