diff --git a/goratings/math/glicko2.py b/goratings/math/glicko2.py index ecbd3e3..a8da7b5 100644 --- a/goratings/math/glicko2.py +++ b/goratings/math/glicko2.py @@ -72,15 +72,9 @@ def g(rd: float) -> float: return 1 / sqrt(1 + 3 * q ** 2 * (self.deviation ** 2) / pi ** 2) E = 1 / ( - 1 - + ( - 10 - ** ( - -g(sqrt(self.deviation ** 2 + white.deviation ** 2)) + 1 + exp(-g(sqrt(self.deviation ** 2 + white.deviation ** 2)) * (self.rating + handicap_adjustment - white.rating) - / 400 - ) - ) + / 400) ) return E