diff -r 2f1798c65fd6 -r c4e394a9c84c src/bisection_tree/either.rs --- a/src/bisection_tree/either.rs Mon Sep 01 00:04:22 2025 -0500 +++ b/src/bisection_tree/either.rs Mon Sep 01 13:51:03 2025 -0500 @@ -3,7 +3,9 @@ use crate::iter::{MapF, MapZ, Mappable}; use crate::loc::Loc; -use crate::mapping::{DifferentiableImpl, DifferentiableMapping, Instance, Mapping, Space}; +use crate::mapping::{ + ClosedSpace, DifferentiableImpl, DifferentiableMapping, Instance, Mapping, Space, +}; use crate::sets::Cube; use crate::types::*; @@ -192,7 +194,7 @@ impl Mapping for EitherSupport where - F: Space, + F: ClosedSpace, X: Space, S1: Mapping, S2: Mapping, @@ -210,8 +212,8 @@ impl DifferentiableImpl for EitherSupport where - O: Space, - X: Space, + O: ClosedSpace, + X: ClosedSpace, S1: DifferentiableMapping, S2: DifferentiableMapping, {