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-29 18:55:22 +0400
committerJohn Langford <jl@nyclamp.(none)>2013-10-29 18:55:22 +0400
commit2080aa9aaccf6bb5709f223c2f779b565cc4d104 (patch)
tree804732d81522c2651973875ab38496b2c301a6bf /vowpalwabbit/sender.cc
parent39d2d61df606929569b9d6736bfd25cbe373a06e (diff)
more standard drivers
Diffstat (limited to 'vowpalwabbit/sender.cc')
-rw-r--r--vowpalwabbit/sender.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vowpalwabbit/sender.cc b/vowpalwabbit/sender.cc
index a966acda..87b4b3b6 100644
--- a/vowpalwabbit/sender.cc
+++ b/vowpalwabbit/sender.cc
@@ -68,7 +68,7 @@ void receive_result(sender& s)
ec->loss = s.all->loss->getLoss(s.all->sd, ec->final_prediction, ld->label) * ld->weight;
- return_simple_example(*(s.all), ec);
+ return_simple_example(*(s.all), NULL, ec);
}
void learn(void* d, example* ec)
@@ -85,7 +85,7 @@ void receive_result(sender& s)
s->delay_ring[s->sent_index++ % s->all->p->ring_size] = ec;
}
-void finish_example(vw& all, example*ec)
+ void finish_example(vw& all, void*, example*ec)
{}
void end_examples(void* d)