Skip to content

Commit

Permalink
remove equality check for target (#197)
Browse files Browse the repository at this point in the history
equality check also checks for `idx` which could be different
  • Loading branch information
AOS002 authored Mar 4, 2024
1 parent 7311f5e commit c2420bb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ailment/statement.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,6 @@ def likes(self, other):
and self.condition.likes(other.condition)
and is_none_or_likeable(self.true_target, other.true_target)
and is_none_or_likeable(self.false_target, other.false_target)
and self.true_target == other.true_target
and self.false_target == other.false_target
)

__hash__ = TaggedObject.__hash__
Expand Down

0 comments on commit c2420bb

Please sign in to comment.