Skip to content

Commit

Permalink
Fix a typo in diffing.py
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 557546785
  • Loading branch information
panzhufeng authored and copybara-github committed Aug 16, 2023
1 parent a85f303 commit b5abdf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fiddle/_src/diffing.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ def align_heuristically(old: Any, new: Any, old_name='old', new_name='new'):
old_by_id = daglish_legacy.collect_value_by_id(old, memoizable_only=True)
new_by_id = daglish_legacy.collect_value_by_id(new, memoizable_only=True)
for (value_id, value) in old_by_id.items():
# Do not aligh by id for small container objects.
# Do not align by id for small container objects.
if not _is_small_container(value):
if value_id in new_by_id:
if alignment.can_align(value, value):
Expand Down

0 comments on commit b5abdf1

Please sign in to comment.