diff --git a/src/integer.rs b/src/integer.rs index c3cd434..053ef0d 100644 --- a/src/integer.rs +++ b/src/integer.rs @@ -519,6 +519,12 @@ impl std::ops::Add for Planar64{ Planar64(self.0+rhs.0) } } +impl std::ops::AddAssign for Planar64{ + #[inline] + fn add_assign(&mut self,rhs:Self){ + *self=*self+rhs; + } +} impl std::ops::Sub for Planar64{ type Output=Planar64; #[inline]