Skip to content

Commit

Permalink
add collision/duplication checks to CachedMapper/TransformMapper/Tran…
Browse files Browse the repository at this point in the history
…sformMapperWithExtraArgs
  • Loading branch information
majosm committed Jan 10, 2025
1 parent 073f504 commit f90083b
Show file tree
Hide file tree
Showing 4 changed files with 349 additions and 35 deletions.
2 changes: 1 addition & 1 deletion pytato/distributed/partition.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ def map_distributed_send(self, expr: DistributedSend) -> DistributedSend:
def rec(self, expr: ArrayOrNames) -> ArrayOrNames:
key = self._cache.get_key(expr)
try:
return self._cache.retrieve(expr, key=key)
return self._cache_retrieve(expr, key=key)
except KeyError:
pass

Expand Down
Loading

0 comments on commit f90083b

Please sign in to comment.