Skip to content

Commit

Permalink
fix wrong operator mapped for LtEq (#5120)
Browse files Browse the repository at this point in the history
  • Loading branch information
sorhawell committed Oct 6, 2022
1 parent f2759b6 commit 593fb1b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ impl OptimizationRule for SimplifyExprRule {
Operator::Eq => eval_binary_bool_type!(left_aexpr, ==, right_aexpr),
Operator::NotEq => eval_binary_bool_type!(left_aexpr, !=, right_aexpr),
Operator::GtEq => eval_binary_bool_type!(left_aexpr, >=, right_aexpr),
Operator::LtEq => eval_binary_bool_type!(left_aexpr, >=, right_aexpr),
Operator::LtEq => eval_binary_bool_type!(left_aexpr, <=, right_aexpr),
Operator::And => eval_bitwise(left_aexpr, right_aexpr, |l, r| l & r),
Operator::Or => eval_bitwise(left_aexpr, right_aexpr, |l, r| l | r),
Operator::Xor => eval_bitwise(left_aexpr, right_aexpr, |l, r| l ^ r),
Expand Down

0 comments on commit 593fb1b

Please sign in to comment.