src/bisection_tree/either.rs

branch
dev
changeset 29
7fd0984743b5
parent 27
00029c20c0ee
child 47
a0db98c16ab5
child 77
cf8ef9463664
--- 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 {

mercurial