Skip to content

Commit

Permalink
Fix typo in fallback comparison in hymd/utility/md_less
Browse files Browse the repository at this point in the history
  • Loading branch information
p-senichenkov committed Dec 22, 2024
1 parent 43075ae commit 91fe0da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/algorithms/md/hymd/utility/md_less.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ inline bool MdLessPairs(MdPair const& pair_left, MdPair const& pair_right) {
auto comp = lhs_left <=> lhs_right;
#else
signed char comp;
if (lhs_left < rhs_left) {
if (lhs_left < lhs_right) {
comp = -1;
} else if (lhs_left == rhs_left) {
} else if (lhs_left == lhs_right) {
comp = 0;
} else {
comp = 1;
Expand Down

0 comments on commit 91fe0da

Please sign in to comment.