# HG changeset patch # User Tuomo Valkonen # Date 1757424267 18000 # Node ID 7f13c9924b303847e39417eea157eb4788e38e51 # Parent 76c77e49581a9426bfad39bdafede7a41d20f263 Remove Norm trait bound from BoundedLinear diff -r 76c77e49581a -r 7f13c9924b30 src/linops.rs --- a/src/linops.rs Mon Sep 08 19:22:13 2025 -0500 +++ b/src/linops.rs Tue Sep 09 08:24:27 2025 -0500 @@ -7,7 +7,7 @@ use crate::euclidean::StaticEuclidean; use crate::instance::Instance; pub use crate::mapping::{ClosedSpace, Composition, DifferentiableImpl, Mapping, Space}; -use crate::norms::{HasDual, Linfinity, Norm, NormExponent, PairNorm, L1, L2}; +use crate::norms::{HasDual, Linfinity, NormExponent, PairNorm, L1, L2}; use crate::types::*; use numeric_literals::replace_float_literals; use serde::Serialize; @@ -128,7 +128,7 @@ pub trait BoundedLinear: Linear where F: Num, - X: Space + Norm, + X: Space, XExp: NormExponent, CodExp: NormExponent, { @@ -251,7 +251,7 @@ impl BoundedLinear for IdOp where - X: Space + Clone + Norm, + X: Space + Clone, F: Num, E: NormExponent, { @@ -327,7 +327,7 @@ impl BoundedLinear for SimpleZeroOp where F: Num, - X: VectorSpace + Norm, + X: VectorSpace, E1: NormExponent, E2: NormExponent, { @@ -506,7 +506,7 @@ impl BoundedLinear for ZeroOp where - X: Space + Instance + Norm, + X: Space + Instance, Y: VectorSpace, Y::PrincipalV: Clone, F: Float, @@ -605,8 +605,8 @@ impl BoundedLinear for Composition where F: Num, - X: Space + Norm, - Z: Space + Norm, + X: Space, + Z: Space, Xexp: NormExponent, Yexp: NormExponent, Zexp: NormExponent, @@ -1004,8 +1004,8 @@ BoundedLinear, PairNorm, ExpR, F> for RowOp where F: Float, - A: Space + Norm, - B: Space + Norm, + A: Space, + B: Space, S: BoundedLinear, T: BoundedLinear, S::Codomain: Add, @@ -1031,7 +1031,7 @@ for ColOp where F: Float, - A: Space + Norm, + A: Space, S: BoundedLinear, T: BoundedLinear, ExpA: NormExponent,