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>2015-01-01 17:16:30 +0300
committerJohn Langford <jl@hunch.net>2015-01-01 17:16:30 +0300
commit9c0570d493f3c52db5b93b5fc7668255cf2ef8ff (patch)
tree4fa4f3b34cd96909cb66854a34e06119ab5cf44f
parentc316ebe62a2a428ab13841195bf7dc5420f5a1db (diff)
minor shortening
-rw-r--r--vowpalwabbit/gd_mf.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/vowpalwabbit/gd_mf.cc b/vowpalwabbit/gd_mf.cc
index 4e91aeba..7a09ef82 100644
--- a/vowpalwabbit/gd_mf.cc
+++ b/vowpalwabbit/gd_mf.cc
@@ -282,9 +282,7 @@ void sd_offset_update(weight* weights, size_t mask, feature* begin, feature* end
all->current_pass++;
}
- void predict(gdmf& d, base_learner& base, example& ec)
- { mf_predict(d,ec);
- }
+ void predict(gdmf& d, base_learner&, example& ec) { mf_predict(d,ec); }
void learn(gdmf& d, base_learner& base, example& ec)
{