Skip to content

Commit

Permalink
Apply March 22 revision
Browse files Browse the repository at this point in the history
  • Loading branch information
deepy committed Aug 27, 2023
1 parent 7ff0804 commit 4d93d8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glicko2/glicko2.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def _newVol(self, rating_list, RD_list, outcome_list, v):
C = A + ((A - B) * fA)/(fB - fA)
fC = self._f(C, delta, v, a)
#b
if fC * fB < 0:
if fC * fB <= 0:
A = B
fA = fB
else:
Expand Down

0 comments on commit 4d93d8d

Please sign in to comment.