diff --git a/binarycpython/utils/distribution_functions.py b/binarycpython/utils/distribution_functions.py index 01c8b136b45fcd295f31b780b5aa118d223b447d..67b9a4d0e1e68406eb4e6abb0bc21a382e7ededc 100644 --- a/binarycpython/utils/distribution_functions.py +++ b/binarycpython/utils/distribution_functions.py @@ -1269,9 +1269,15 @@ def build_q_table(options, m, p, verbosity=0): # qmin = options["ranges"]["M"][ # 0 # ] # TODO: this lower range must not be lower than Mmin. - # print("build_q_table qmin: {}".format(qmin)) + qmin = options['Mmin']/options['M_1'] - print("build_q_table qmin: {}".format(qmin)) + verbose_print( + "\tM&S: build_q_table qmin: {}".format( + qmin, + ), + verbosity, + _MS_VERBOSITY_LEVEL, + ) # qmax = maximum_mass_ratio_for_RLOF(options[m], options[p]) # TODO: change this to the above @@ -1284,7 +1290,13 @@ def build_q_table(options, m, p, verbosity=0): qeps = 1e-8 # small number but such that qeps+1 != 1 if qeps + 1 == 1.0: - print("qeps (= {}) +1 == 1. Make qeps larger".format(qeps)) + verbose_print( + "\tM&S: build_q_table: qeps (= {}) +1 == 1. Make qeps larger".format( + qeps, + ), + verbosity, + _MS_VERBOSITY_LEVEL, + ) if qmin >= qmax: # there may be NO binaries in this part of the parameter space: