Skip to content

Commit 4d1c9ce

Browse files
author
LukeMathWalker
committed
Axis is copy (even if CLion complains it's not)
1 parent c290676 commit 4d1c9ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/numeric/impl_numeric.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ impl<A, S, D> ArrayBase<S, D>
169169
where A: Clone + Zero + FromPrimitive + Add<Output=A> + Div<Output=A>,
170170
D: RemoveAxis,
171171
{
172-
let axis_length = self.len_of(axis.clone());
172+
let axis_length = self.len_of(axis);
173173
if axis_length == 0 {
174174
None
175175
} else {

0 commit comments

Comments
 (0)