diff options
author | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-25 02:52:53 +0000 |
---|---|---|
committer | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-25 02:52:53 +0000 |
commit | 06b857aacaa491229e7c4a430a752b20ba0d2367 (patch) | |
tree | 0ca41009231b375e373c4dbc6320490349863da9 /extools/mr_stripe_rule_reduce.cc | |
parent | 142f24f26a3d80e972aaab27e259dd4e79d00fe4 (diff) |
compile
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@404 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'extools/mr_stripe_rule_reduce.cc')
-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 0be1834d..c9b2eb2a 100644 --- a/extools/mr_stripe_rule_reduce.cc +++ b/extools/mr_stripe_rule_reduce.cc @@ -82,7 +82,7 @@ void DoPhraseMarginals(const vector<WordID>& key, const bool bidir, ID2RuleStati } double tot = 0; for (ID2RuleStatistics::iterator it = val->begin(); it != val->end(); ++it) - tot += it->second.counts.value(kCFE); + tot += it->second.counts.get(kCFE); for (ID2RuleStatistics::iterator it = val->begin(); it != val->end(); ++it) { it->second.counts.set_value(cur_marginal_id, tot); |