diff options
author | John Langford <jl@hunch.net> | 2010-09-22 05:56:50 +0400 |
---|---|---|
committer | John Langford <jl@hunch.net> | 2010-09-22 05:56:50 +0400 |
commit | dc0ad64407c464dc00046a1c83b36fda086ff391 (patch) | |
tree | d09abd2d32e9d6ee9cc2e4aea6f0737649843a44 /sparse_dense.cc | |
parent | b896e10dfa7433d2486a9478d474c912955d29a8 (diff) |
bug fixes from Nikos
Diffstat (limited to 'sparse_dense.cc')
-rw-r--r-- | sparse_dense.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sparse_dense.cc b/sparse_dense.cc index 6473faf0..fe2b1cc6 100644 --- a/sparse_dense.cc +++ b/sparse_dense.cc @@ -82,7 +82,6 @@ void print_offset_audit_quad(weight* weights, audit_data& page_feature, v_array< void print_offset_quad(weight* weights, feature& page_feature, v_array<feature> &offer_features, size_t mask, size_t offset) { size_t halfhash = quadratic_constant * page_feature.weight_index + offset; - for (feature* ele = offer_features.begin; ele != offer_features.end; ele++) cout << '\t' << ((halfhash + ele->weight_index) & mask) << ':' << (ele->x*page_feature.x) |