File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,9 +46,6 @@ pub trait SortArray {
4646 fn sort_axis_by < F > ( & self , axis : Axis , less_than : F ) -> Permutation
4747 where
4848 F : FnMut ( usize , usize ) -> bool ;
49- fn sort_axis_ < F > ( & self , axis : Axis , less_than : F ) -> Permutation
50- where
51- F : FnMut ( usize , usize ) -> Ordering ;
5249}
5350
5451pub trait PermuteArray {
8784 } ) ;
8885 perm
8986 }
90-
91- fn sort_axis_ < F > ( & self , axis : Axis , mut less_than : F ) -> Permutation
92- where
93- F : FnMut ( usize , usize ) -> Ordering ,
94- {
95- let mut perm = self . identity ( axis) ;
96- perm. indices . sort_by ( move |& a, & b| less_than ( a, b) ) ;
97- perm
98- }
9987}
10088
10189impl < A , D > PermuteArray for Array < A , D >
Original file line number Diff line number Diff line change @@ -16,5 +16,6 @@ cargo test --manifest-path=ndarray-rand/Cargo.toml --no-default-features --verbo
1616cargo test --manifest-path=ndarray-rand/Cargo.toml --features quickcheck --verbose
1717cargo test --manifest-path=serialization-tests/Cargo.toml --verbose
1818cargo test --manifest-path=blas-tests/Cargo.toml --verbose
19+ cargo test --examples
1920CARGO_TARGET_DIR=target/ cargo test --manifest-path=numeric-tests/Cargo.toml --verbose
2021([ " $CHANNEL " != " nightly" ] || cargo bench --no-run --verbose --features " $FEATURES " )
You can’t perform that action at this time.
0 commit comments