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:20:33 +0300
committerJohn Langford <jl@hunch.net>2015-01-01 17:20:33 +0300
commit6929968197bded9d5306d3fdc8bf59a12e0612cc (patch)
treebe2b21fb2b8ac8d6309dd87b81317d8744e53f1c
parentca852d8cfeef77ca60aa426c9070f1568ecf644e (diff)
fixed clang compile bug
-rw-r--r--vowpalwabbit/learner.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vowpalwabbit/learner.h b/vowpalwabbit/learner.h
index 2649429c..b832306c 100644
--- a/vowpalwabbit/learner.h
+++ b/vowpalwabbit/learner.h
@@ -186,7 +186,7 @@ namespace LEARNER
template<class T>
learner<T>& init_learner(T* dat, base_learner* base,
void (*learn)(T&, base_learner&, example&),
- void (*predict)(T&, base_learner&, example&), size_t ws = 1)
+ void (*predict)(T&, base_learner&, example&), size_t ws)
{ //the reduction constructor, with separate learn and predict functions
learner<T>& ret = calloc_or_die<learner<T> >();
ret = *(learner<T>*)base;