diff --git a/src/zeroes.rs b/src/zeroes.rs index 3866ec3..67c5c75 100644 --- a/src/zeroes.rs +++ b/src/zeroes.rs @@ -12,12 +12,12 @@ pub fn zeroes2<'a>(a0:Planar64,a1:Planar64,a2:Planar64)->&'a [Planar64]{ let planar_radicand=Planar64::raw(unsafe{(radicand as f64).sqrt().to_int_unchecked()}); //TODO: one or two newtons if Planar64::ZERO(a0:Planar64,a1:Planar64)->&'a [Planar64]{ if a1==Planar64::ZERO{ &[] }else{ - &[-a0/a1] + [-a0/a1].as_slice() } } \ No newline at end of file