diff options
author | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-23 19:17:22 +0000 |
---|---|---|
committer | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-23 19:17:22 +0000 |
commit | 00be683d744ea87e67dd13db08e4a17531bfb1f3 (patch) | |
tree | 7caccb91b31a1ffa1930a29ebf6f30b27e6f5f69 /extools | |
parent | 8d222e20d8f253aa2c73d139d8ae6cc69483d071 (diff) |
sparse_vector use google::dense_hash_map, fsa scan logging
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@383 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'extools')
-rw-r--r-- | extools/mr_stripe_rule_reduce.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extools/mr_stripe_rule_reduce.cc b/extools/mr_stripe_rule_reduce.cc index 8332a106..0be1834d 100644 --- a/extools/mr_stripe_rule_reduce.cc +++ b/extools/mr_stripe_rule_reduce.cc @@ -87,7 +87,7 @@ void DoPhraseMarginals(const vector<WordID>& key, const bool bidir, ID2RuleStati it->second.counts.set_value(cur_marginal_id, tot); // prevent double counting of the joint - if (cur_marginal_id == kCE) it->second.counts.clear_value(kCFE); + if (cur_marginal_id == kCE) it->second.counts.erase(kCFE); } } |