Skip to content

Commit 1aaa255

Browse files
authored
Merge pull request #282 from citrusvanilla/master
print both digits of the exponent in scientific notation form for flo…
2 parents 891be87 + f5cfc60 commit 1aaa255

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bayes_opt/logger.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ def verbose(self, v):
3030

3131
def _format_number(self, x):
3232
if isinstance(x, int):
33-
s = "{x:< {s}}".format(
33+
s = "{x:<{s}}".format(
3434
x=x,
3535
s=self._default_cell_size,
3636
)
3737
else:
38-
s = "{x:< {s}.{p}}".format(
38+
s = "{x:<{s}.{p}}".format(
3939
x=x,
4040
s=self._default_cell_size,
4141
p=self._default_precision,

0 commit comments

Comments
 (0)