Skip to content

Commit 25cf334

Browse files
authored
Merge pull request #792 from TheLortex/remove-axis-on-larger-dim
Dimension::Larger should implement RemoveAxis
2 parents 6f8395c + f52f266 commit 25cf334

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)