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>2010-12-09 21:14:10 +0300
committerJohn Langford <jl@hunch.net>2010-12-09 21:14:10 +0300
commit74bc16001ed4118e0730144ccd37aa57863ba7ab (patch)
tree7c7ea06d891986845944068c0437b976baf4aef7 /parser.cc
parentf9b9c5a7ea154c9c4f5e842d69e539b8f2ebaf8f (diff)
minor
Diffstat (limited to 'parser.cc')
-rw-r--r--parser.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/parser.cc b/parser.cc
index 08625fe4..2ef254b3 100644
--- a/parser.cc
+++ b/parser.cc
@@ -577,6 +577,7 @@ void setup_example(parser* p, example* ae)
f = ret;
current += expert_size;
}
+ assert(f == ae->atomics[*i].end);
ae->num_features += ae->atomics[*i].end - ae->atomics[*i].begin;
ae->total_sum_feat_sq += ae->sum_feat_sq[*i];
}