Skip to content

Commit f52f266

Browse files
committed
Dimension::Larger should implement RemoveAxis
1 parent c043855 commit f52f266

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dimension/dimension_trait.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ pub trait Dimension:
7575
/// Next smaller dimension (if applicable)
7676
type Smaller: Dimension;
7777
/// Next larger dimension
78-
type Larger: Dimension;
78+
type Larger: Dimension + RemoveAxis;
7979

8080
/// Returns the number of dimensions (number of axes).
8181
fn ndim(&self) -> usize;

0 commit comments

Comments
 (0)