summaryrefslogtreecommitdiff
path: root/gi
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2012-04-19 11:34:16 -0400
committerChris Dyer <cdyer@cs.cmu.edu>2012-04-19 11:34:16 -0400
commitcf693c4334304360b5e718bf1e8485e59fc38a54 (patch)
treea6e6b40272622fba65e69eb196bf1a2ee2b9ee69 /gi
parentd016f7f28510f822b89c921da38006eae3877872 (diff)
fix typo
Diffstat (limited to 'gi')
-rw-r--r--gi/pf/base_distributions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gi/pf/base_distributions.h b/gi/pf/base_distributions.h
index 84dacdf2..41b513f8 100644
--- a/gi/pf/base_distributions.h
+++ b/gi/pf/base_distributions.h
@@ -89,7 +89,7 @@ struct TableLookupBase {
TableLookupBase(const std::string& fname);
prob_t operator()(const TRule& rule) const {
- const std::tr1::unordered_map<TRule,prob_t>::const_iterator it = table.find(rule);
+ const std::tr1::unordered_map<TRule,prob_t,RuleHasher>::const_iterator it = table.find(rule);
if (it == table.end()) {
std::cerr << rule << " not found\n";
abort();