Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/vowpal_wabbit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Langford <jl@nyclamp.(none)>2013-10-31 21:13:06 +0400
committerJohn Langford <jl@nyclamp.(none)>2013-10-31 21:13:06 +0400
commit60d0e4db2a67c655ff7144eb7da245b90257769e (patch)
treec4a9d468b33810cfa8298f28a370bde1b529d361 /vowpalwabbit/gd_mf.cc
parent9d40dce29f5b83bf1353897d407dc052b4eb2c45 (diff)
halfway through reduction restructure
Diffstat (limited to 'vowpalwabbit/gd_mf.cc')
-rw-r--r--vowpalwabbit/gd_mf.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/vowpalwabbit/gd_mf.cc b/vowpalwabbit/gd_mf.cc
index c91ddcf1..c95a6a8e 100644
--- a/vowpalwabbit/gd_mf.cc
+++ b/vowpalwabbit/gd_mf.cc
@@ -294,8 +294,7 @@ void end_pass(void* d)
{
gdmf* data = (gdmf*)calloc(1,sizeof(gdmf));
data->all = &all;
- sl_t sl = {data, save_load};
- learner l(data,learn,sl);
+ learner l(data,learn,save_load);
l.set_end_pass(end_pass);
return l;
}