File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 68
68
clippy:: needless_range_loop,
69
69
clippy:: ptr_arg,
70
70
clippy:: len_without_is_empty,
71
- clippy:: extra_unused_lifetimes,
72
71
clippy:: map_entry,
73
72
clippy:: comparison_chain,
74
73
clippy:: type_complexity,
75
74
clippy:: needless_lifetimes,
76
75
clippy:: too_many_arguments,
77
76
clippy:: let_and_return,
78
- clippy:: many_single_char_names,
77
+ clippy:: many_single_char_names
79
78
) ]
80
79
/// Various algorithms and helper methods that are used elsewhere in SmartCore
81
80
pub mod algorithm;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ use crate::optimization::FunctionOrder;
2
2
use num_traits:: Float ;
3
3
4
4
pub trait LineSearchMethod < T : Float > {
5
- fn search < ' a > (
5
+ fn search (
6
6
& self ,
7
7
f : & ( dyn Fn ( T ) -> T ) ,
8
8
df : & ( dyn Fn ( T ) -> T ) ,
You can’t perform that action at this time.
0 commit comments