diff options
| author | vainsocial <vainsocial@prod> | 2017-12-23 11:58:49 +0000 |
|---|---|---|
| committer | vainsocial <vainsocial@prod> | 2017-12-23 11:58:49 +0000 |
| commit | 7483f35162a5ea58117c4cc59a1d1d2a7c75c576 (patch) | |
| tree | 8aa36a2f3de49c7b789b0ca9f084df29ad97ea93 | |
| parent | 79bd472660a4af96f772d0dff77e8afa1bbac3f4 (diff) | |
| download | analyzer-release/2.21.0.tar.gz analyzer-release/2.21.0.zip | |
ignore rank points if 0release/2.21.0
| -rw-r--r-- | worker.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -258,7 +258,7 @@ def process(): mu = player.trueskill_mu else: # approximate by rank points if possible - if player.rank_points_ranked is not None: + if player.rank_points_ranked is not None and player.rank_points_ranked != 0: sigma = UNKNOWN_PLAYER_SIGMA * (2.0/3.0) # more accurate = more trust mu = float(player.rank_points_ranked) + sigma else: |
