File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ def find_a_factor(n,
88 gear_factorization_level = int (os .environ .get ('FINDAFACTOR_GEAR_FACTORIZATION_LEVEL' )) if os .environ .get ('FINDAFACTOR_GEAR_FACTORIZATION_LEVEL' ) else 11 ,
99 wheel_factorization_level = int (os .environ .get ('FINDAFACTOR_WHEEL_FACTORIZATION_LEVEL' )) if os .environ .get ('FINDAFACTOR_WHEEL_FACTORIZATION_LEVEL' ) else 5 ,
1010 smoothness_bound_multiplier = float (os .environ .get ('FINDAFACTOR_SMOOTHNESS_BOUND_MULTIPLIER' )) if os .environ .get ('FINDAFACTOR_SMOOTHNESS_BOUND_MULTIPLIER' ) else 1.0 ,
11- batch_size_multiplier = float (os .environ .get ('FINDAFACTOR_BATCH_SIZE_MULTIPLIER' )) if os .environ .get ('FINDAFACTOR_BATCH_SIZE_MULTIPLIER' ) else 0 .75 ):
11+ batch_size_multiplier = float (os .environ .get ('FINDAFACTOR_BATCH_SIZE_MULTIPLIER' )) if os .environ .get ('FINDAFACTOR_BATCH_SIZE_MULTIPLIER' ) else 15 .75 ):
1212 return int (_find_a_factor ._find_a_factor (str (n ),
1313 use_congruence_of_squares ,
1414 node_count , node_id ,
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ def main():
1818 gear_factorization_level = int (os .environ .get ('FINDAFACTOR_GEAR_FACTORIZATION_LEVEL' )) if os .environ .get ('FINDAFACTOR_GEAR_FACTORIZATION_LEVEL' ) else 11
1919 wheel_factorization_level = int (os .environ .get ('FINDAFACTOR_WHEEL_FACTORIZATION_LEVEL' )) if os .environ .get ('FINDAFACTOR_WHEEL_FACTORIZATION_LEVEL' ) else 5
2020 smoothness_bound_multiplier = float (os .environ .get ('FINDAFACTOR_SMOOTHNESS_BOUND_MULTIPLIER' )) if os .environ .get ('FINDAFACTOR_SMOOTHNESS_BOUND_MULTIPLIER' ) else 1.0
21- batch_size_multiplier = float (os .environ .get ('FINDAFACTOR_BATCH_SIZE_MULTIPLIER' )) if os .environ .get ('FINDAFACTOR_BATCH_SIZE_MULTIPLIER' ) else 0 .75
21+ batch_size_multiplier = float (os .environ .get ('FINDAFACTOR_BATCH_SIZE_MULTIPLIER' )) if os .environ .get ('FINDAFACTOR_BATCH_SIZE_MULTIPLIER' ) else 15 .75
2222
2323 if argv_len > 2 :
2424 use_congruence_of_squares = ((sys .argv [2 ] != "False" ) and (sys .argv [2 ] != "0" ))
Original file line number Diff line number Diff line change 2626
2727setup (
2828 name = 'FindAFactor' ,
29- version = '3.0.1 ' ,
29+ version = '3.1.0 ' ,
3030 author = 'Dan Strano' ,
3131 author_email = 'dan@unitary.fund' ,
3232 description = 'Find any nontrivial factor of a number' ,
You can’t perform that action at this time.
0 commit comments