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:
Diffstat (limited to 'vowpalwabbit/multiclass.h')
-rw-r--r--vowpalwabbit/multiclass.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vowpalwabbit/multiclass.h b/vowpalwabbit/multiclass.h
index f48efbfc..14f5d443 100644
--- a/vowpalwabbit/multiclass.h
+++ b/vowpalwabbit/multiclass.h
@@ -20,6 +20,8 @@ namespace MULTICLASS
void finish_example(vw& all, example& ec);
+ template <class T> void finish_example(vw& all, T&, example& ec) { finish_example(all, ec); }
+
inline int label_is_test(multiclass* ld)
{ return ld->label == (uint32_t)-1; }
}