Skip to content

Commit 5802f00

Browse files
authored
Merge pull request #380 from jturner314/fix-arith-mut
Fix trait bound on arr1 (op) &arr2
2 parents a380737 + 45e6b5d commit 5802f00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/impl_ops.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ impl<A, S, S2, D, E> $trt<ArrayBase<S2, E>> for ArrayBase<S, D>
8282
/// **Panics** if broadcasting isn’t possible.
8383
impl<'a, A, S, S2, D, E> $trt<&'a ArrayBase<S2, E>> for ArrayBase<S, D>
8484
where A: Clone + $trt<A, Output=A>,
85-
S: DataMut<Elem=A>,
85+
S: DataOwned<Elem=A> + DataMut,
8686
S2: Data<Elem=A>,
8787
D: Dimension,
8888
E: Dimension,

0 commit comments

Comments
 (0)