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@hunch.net>2014-01-21 21:51:04 +0400
committerJohn Langford <jl@hunch.net>2014-01-21 21:51:04 +0400
commita0fcc75614751b4bb3e4235a218198646cf399d9 (patch)
treed3b0249dab5761ce9b0c659ad0a32522eedc9306 /vowpalwabbit/learner.cc
parent8b6fe928a1c8595e158a69bcd52490d874b38297 (diff)
changed pointers to references
Diffstat (limited to 'vowpalwabbit/learner.cc')
-rw-r--r--vowpalwabbit/learner.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vowpalwabbit/learner.cc b/vowpalwabbit/learner.cc
index 1b936991..6900263a 100644
--- a/vowpalwabbit/learner.cc
+++ b/vowpalwabbit/learner.cc
@@ -17,7 +17,7 @@ namespace LEARNER
{
if (ec->indices.size() > 1) // one nonconstant feature.
{
- all->l->learn(ec);
+ all->l->learn(*ec);
all->l->finish_example(*all, ec);
}
else if (ec->end_pass)
@@ -41,7 +41,7 @@ namespace LEARNER
}
else
{
- all->l->learn(ec);
+ all->l->learn(*ec);
if(all->early_terminate)
{