Skip to content

Commit

Permalink
Correct constant fold for fne.
Browse files Browse the repository at this point in the history
  • Loading branch information
cqc-alec committed May 2, 2024
1 parent 4b9d3da commit a8cb6e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hugr/src/std_extensions/arithmetic/float_ops/const_fold.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ impl CmpFold {
Self(Box::new(move |x, y| {
(match op {
feq => f64::eq,
fne => f64::lt,
fne => f64::ne,
flt => f64::lt,
fgt => f64::gt,
fle => f64::le,
Expand Down

0 comments on commit a8cb6e1

Please sign in to comment.