diff --git a/src/dimension/dimension_trait.rs b/src/dimension/dimension_trait.rs index 0bc03f9d5..4f03d3aac 100644 --- a/src/dimension/dimension_trait.rs +++ b/src/dimension/dimension_trait.rs @@ -75,7 +75,7 @@ pub trait Dimension: /// Next smaller dimension (if applicable) type Smaller: Dimension; /// Next larger dimension - type Larger: Dimension; + type Larger: Dimension + RemoveAxis; /// Returns the number of dimensions (number of axes). fn ndim(&self) -> usize;