Skip to content

Commit

Permalink
use 'inf'
Browse files Browse the repository at this point in the history
  • Loading branch information
JinZhou5042 committed Dec 3, 2024
1 parent 0c4df9b commit 3353444
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(self, dsk, low_memory_mode=False):
self._pending_parents_of = defaultdict(lambda: set())

# key->depth. The shallowest level the key is found
self._depth_of = defaultdict(lambda: float("inf"))
self._depth_of = defaultdict(lambda: float('inf'))

# target keys that the dag should compute
self._targets = set()
Expand Down

0 comments on commit 3353444

Please sign in to comment.