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/example.cc')
-rw-r--r--vowpalwabbit/example.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vowpalwabbit/example.cc b/vowpalwabbit/example.cc
index d38cc78e..293b79fb 100644
--- a/vowpalwabbit/example.cc
+++ b/vowpalwabbit/example.cc
@@ -68,7 +68,7 @@ flat_example* flatten_example(vw& all, example *ec)
features_and_source fs;
fs.base = all.reg.weight_vector;
- GD::foreach_feature<features_and_source, vec_store>(all, ec, fs);
+ GD::foreach_feature<features_and_source, vec_store>(all, *ec, fs);
qsort(fs.feature_map.begin, fs.feature_map.size(), sizeof(feature), compare_feature);
fec->feature_map_len = fs.feature_map.size();