Skip to content

Commit

Permalink
oops forgot updating vars in one place
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed Dec 5, 2020
1 parent 1768ef9 commit 2663566
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mlat/server/clocksync.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ def _update_offset(self, address, base_ts, peer_ts, prediction_error):
p_var = prediction_error ** 2
self.var.append(p_var)
self.var_sum += p_var
self.updateVars();

# if we are accepting an outlier, do not include it in our integral term
if not self.outliers:
Expand Down

0 comments on commit 2663566

Please sign in to comment.