i will also fix floating point significant digits

This commit is contained in:
AUTOMATIC 2022-09-09 18:05:43 +03:00
parent b1707553cf
commit efde17e839
1 changed files with 6 additions and 0 deletions

View File

@ -42,10 +42,16 @@ def apply_sampler(p, x, xs):
def format_value_add_label(p, opt, x):
if type(x) == float:
x = round(x, 8)
return f"{opt.label}: {x}"
def format_value(p, opt, x):
if type(x) == float:
x = round(x, 8)
return x
def do_nothing(p, x, xs):