Skip to content

Commit

Permalink
Check unequality
Browse files Browse the repository at this point in the history
Signed-off-by: Lydia Buntrock <[email protected]>
  • Loading branch information
Irallia committed Aug 6, 2021
1 parent 5e364a1 commit 6867c64
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/structures/junction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ bool operator<(Junction const & lhs, Junction const & rhs)
? lhs.get_mate1() < rhs.get_mate1()
: lhs.get_mate2() != rhs.get_mate2()
? lhs.get_mate2() < rhs.get_mate2()
: lhs.get_inserted_sequence() < rhs.get_inserted_sequence();
// TODO (23.7.21, irallia): tandem_dup_count doesn't play a role here right?
: lhs.get_tandem_dup_count() != rhs.get_tandem_dup_count()
? lhs.get_tandem_dup_count() < rhs.get_tandem_dup_count()
: lhs.get_inserted_sequence() < rhs.get_inserted_sequence();
}

bool operator==(Junction const & lhs, Junction const & rhs)
Expand Down

0 comments on commit 6867c64

Please sign in to comment.