summaryrefslogtreecommitdiff
path: root/extools/mr_stripe_rule_reduce.cc
diff options
context:
space:
mode:
authorgraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-25 02:52:53 +0000
committergraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-25 02:52:53 +0000
commit0f80272c5e32dd3a0d5d747d00c914b0a6bf0be8 (patch)
tree66e17864ccce229ffd46dcafc114839c5c17e64e /extools/mr_stripe_rule_reduce.cc
parent3469df4ef7163c056423e8815b9bb01534561cd5 (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.cc2
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);