Skip to content

Commit

Permalink
Stop treating loss as a small value (#1770)
Browse files Browse the repository at this point in the history
  • Loading branch information
piiq authored May 5, 2022
1 parent 6cb6662 commit cc52bf5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openbb_terminal/helper_funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def print_rich_table(
row += [
str(x)
if not isinstance(x, float)
else (f"{x:{floatfmt[idx]}}" if x >= 0.01 else f"{x:.2e}")
else (f"{x:{floatfmt[idx]}}" if abs(x) >= 0.001 else f"{x:.2e}")
for idx, x in enumerate(values)
]
table.add_row(*row)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# https://python-poetry.org/docs/dependency-specification/
[tool.poetry]
name = "OpenBBTerminal"
version = "1.2.0"
version = "1.2.1"
description = ""
authors = ["Didier Rodrigues Lopes"]
packages = [
Expand Down

0 comments on commit cc52bf5

Please sign in to comment.