diff --git a/lib/fixed_wide/src/fixed.rs b/lib/fixed_wide/src/fixed.rs index 0426805..8cb266e 100644 --- a/lib/fixed_wide/src/fixed.rs +++ b/lib/fixed_wide/src/fixed.rs @@ -1,6 +1,6 @@ use bnum::{BInt,cast::As}; -#[derive(Clone,Copy,Debug,Default,Hash,PartialEq,PartialOrd,Ord)] +#[derive(Clone,Copy,Debug,Default,Hash,PartialEq,Eq,PartialOrd,Ord)] /// A Fixed point number for which multiply operations widen the bits in the output. (when the wide-mul feature is enabled) /// N is the number of u64s to use /// F is the number of fractional bits (always N*32 lol) @@ -97,7 +97,6 @@ where self.bits.eq(&other.into()) } } -impl Eq for Fixed{} impl PartialOrd for Fixed where