use num_complex::Complex;
use NearlyEq;
#[cfg_attr(feature = "docs", stable(feature = "num-complex", since = "0.1.2"))]
impl<A, B, C: NearlyEq<A, B>> NearlyEq<Complex<A>, B> for Complex<C> {
fn eps() -> B {
C::eps()
}
fn eq(&self, other: &Complex<A>, eps: &B) -> bool {
self.re.eq(&other.re, eps) && self.im.eq(&other.im, eps)
}
}