Skip to content

Commit 575f7c9

Browse files
Fix Clippy useless conversion
1 parent c350745 commit 575f7c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/composing/multi_class_model.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ impl<L: Clone + Default, F, D: Data<Elem = F>> PredictInplace<ArrayBase<D, Ix2>,
4646
// if probability is higher
4747
res = res
4848
.into_iter()
49-
.zip(pairs.into_iter())
49+
.zip(pairs)
5050
.map(|(c, d)| if d.1 > c.1 { d } else { c })
5151
.collect();
5252
}

0 commit comments

Comments
 (0)