diff --git a/hugr/src/std_extensions/arithmetic/float_ops/const_fold.rs b/hugr/src/std_extensions/arithmetic/float_ops/const_fold.rs index 8e289543e..0323bcfe6 100644 --- a/hugr/src/std_extensions/arithmetic/float_ops/const_fold.rs +++ b/hugr/src/std_extensions/arithmetic/float_ops/const_fold.rs @@ -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,