diff options
author | John Langford <jl@nyclamp.(none)> | 2013-11-04 21:00:01 +0400 |
---|---|---|
committer | John Langford <jl@nyclamp.(none)> | 2013-11-04 21:00:01 +0400 |
commit | 5fbefcc27257b3386fd93b3983aa799c60704f47 (patch) | |
tree | aa5a07922dcbbc1a4f03b0622a7b5a75524da584 /vowpalwabbit/gd_mf.cc | |
parent | 4397256c1bafab983d18e7c05aa4efc71ab4188d (diff) |
minor simplification
Diffstat (limited to 'vowpalwabbit/gd_mf.cc')
-rw-r--r-- | vowpalwabbit/gd_mf.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vowpalwabbit/gd_mf.cc b/vowpalwabbit/gd_mf.cc index b6c70fc6..727646f9 100644 --- a/vowpalwabbit/gd_mf.cc +++ b/vowpalwabbit/gd_mf.cc @@ -294,10 +294,8 @@ void end_pass(void* d) { gdmf* data = (gdmf*)calloc(1,sizeof(gdmf)); data->all = &all; - learner* l = new learner(data,learn); - l->set_save_load(save_load); + learner* l = new learner(data,learn, save_load, all.reg.stride); l->set_end_pass(end_pass); - l->increment = all.reg.stride; return l; } |