From ee7df7787a687d300e29dad1d6775c37228457db Mon Sep 17 00:00:00 2001 From: Quaternions Date: Thu, 26 Oct 2023 19:59:49 -0700 Subject: [PATCH] stack :( --- src/zeroes.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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