[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [sbws/master] v3bwfile: ensure torflow's scaling is the default



commit 54078bd486720f664e583f2604b4260edee0c511
Author: juga0 <juga@xxxxxxxxxx>
Date:   Mon Nov 19 18:29:50 2018 +0000

    v3bwfile: ensure torflow's scaling is the default
    
    Even if that method is call from generate with torflow's scaling
    by default.
---
 sbws/lib/v3bwfile.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sbws/lib/v3bwfile.py b/sbws/lib/v3bwfile.py
index ffc15a1..23387a9 100644
--- a/sbws/lib/v3bwfile.py
+++ b/sbws/lib/v3bwfile.py
@@ -485,7 +485,8 @@ class V3BWFile(object):
     @classmethod
     def from_results(cls, results, state_fpath='',
                      scale_constant=SBWS_SCALE_CONSTANT,
-                     scaling_method=None, torflow_obs=TORFLOW_OBS_LAST,
+                     scaling_method=TORFLOW_SCALING,
+                     torflow_obs=TORFLOW_OBS_LAST,
                      torflow_cap=TORFLOW_BW_MARGIN,
                      torflow_round_digs=PROP276_ROUND_DIG,
                      secs_recent=None, secs_away=None, min_num=0,



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits