Skip to content

Commit 1a76d5d

Browse files
committed
add BroadCastShape<<Self as Dimension>::Smaller>
1 parent 2227608 commit 1a76d5d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/dimension/dimension_trait.rs

+2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ pub trait Dimension:
4949
+ BroadcastShape<Ix0, BroadcastOutput=Self>
5050
+ BroadcastShape<Self, BroadcastOutput=Self>
5151
+ BroadcastShape<IxDyn, BroadcastOutput=IxDyn>
52+
+ BroadcastShape<<Self as Dimension>::Smaller, BroadcastOutput=Self>
53+
+ BroadcastShape<<Self as Dimension>::Larger, BroadcastOutput=<Self as Dimension>::Larger>
5254
{
5355
/// For fixed-size dimension representations (e.g. `Ix2`), this should be
5456
/// `Some(ndim)`, and for variable-size dimension representations (e.g.

0 commit comments

Comments
 (0)