Skip to content

Commit

Permalink
Fix Operator::swap
Browse files Browse the repository at this point in the history
  • Loading branch information
robert3005 committed Aug 21, 2024
1 parent a604fa8 commit d662416
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions vortex-array/src/compute/compare.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ impl Operator {
match self {
Operator::Eq => Operator::Eq,
Operator::NotEq => Operator::NotEq,
Operator::Gt => Operator::Lte,
Operator::Gte => Operator::Lt,
Operator::Lt => Operator::Gte,
Operator::Lte => Operator::Gt,
Operator::Gt => Operator::Lt,
Operator::Gte => Operator::Lte,
Operator::Lt => Operator::Gt,
Operator::Lte => Operator::Gte,
}
}

Expand Down
8 changes: 4 additions & 4 deletions vortex-expr/src/operators.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ impl Operator {
match self {
Operator::Eq => Operator::Eq,
Operator::NotEq => Operator::NotEq,
Operator::Gt => Operator::Lte,
Operator::Gte => Operator::Lt,
Operator::Lt => Operator::Gte,
Operator::Lte => Operator::Gt,
Operator::Gt => Operator::Lt,
Operator::Gte => Operator::Lte,
Operator::Lt => Operator::Gt,
Operator::Lte => Operator::Gte,
Operator::And => Operator::And,
Operator::Or => Operator::Or,
}
Expand Down

0 comments on commit d662416

Please sign in to comment.