Skip to content

Commit

Permalink
fix sign
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Garcia Reolid <victor@seita.nl>
  • Loading branch information
victorgarcia98 committed Mar 21, 2024
1 parent e9d320b commit 641a210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion timely_beliefs/sensors/func_store/knowledge_horizons.py
Expand Up @@ -55,7 +55,7 @@ def x_years_ago_at_date(
These bounds are normally useful for creating more efficient database queries when filtering by belief time.
"""

if x >= 0:
if x < 0:
raise ValueError("Negative value for `x` not supported.")

if get_bounds:
Expand Down

0 comments on commit 641a210

Please sign in to comment.