summaryrefslogtreecommitdiff
path: root/gi/pf/learn_cfg.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gi/pf/learn_cfg.cc')
-rw-r--r--gi/pf/learn_cfg.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gi/pf/learn_cfg.cc b/gi/pf/learn_cfg.cc
index 44eaa162..1d5126e4 100644
--- a/gi/pf/learn_cfg.cc
+++ b/gi/pf/learn_cfg.cc
@@ -160,7 +160,7 @@ struct HieroLMModel {
p *= q;
for (CCRP<TRule>::const_iterator it = nts[i].begin(); it != nts[i].end(); ++it) {
prob_t tp = p0(it->first);
- tp.poweq(it->second.table_counts_.size());
+ tp.poweq(it->second.num_tables());
p *= tp;
}
}
@@ -169,7 +169,7 @@ struct HieroLMModel {
p *= q;
for (CCRP<TRule>::const_iterator it = q0.begin(); it != q0.end(); ++it) {
prob_t tp = base(it->first);
- tp.poweq(it->second.table_counts_.size());
+ tp.poweq(it->second.num_tables());
p *= tp;
}
}