--- a/src/bisection_tree/either.rs Fri Apr 28 09:03:21 2023 +0300 +++ b/src/bisection_tree/either.rs Fri Apr 28 13:42:03 2023 +0300 @@ -3,7 +3,7 @@ use std::sync::Arc; use crate::types::*; -use crate::mapping::{Apply, Differentiate}; +use crate::mapping::{Apply, Differentiable}; use crate::iter::{Mappable, MapF, MapZ}; use crate::sets::Cube; use crate::loc::Loc; @@ -190,9 +190,9 @@ } } -impl<F, S1, S2, X> Differentiate<X> for EitherSupport<S1, S2> -where S1 : Differentiate<X, Output=F>, - S2 : Differentiate<X, Output=F> { +impl<F, S1, S2, X> Differentiable<X> for EitherSupport<S1, S2> +where S1 : Differentiable<X, Output=F>, + S2 : Differentiable<X, Output=F> { type Output = F; #[inline] fn differential(&self, x : X) -> F {