summaryrefslogtreecommitdiff
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
commit3a071247b3da1640147f9e5705e3398570d9f127 (patch)
treec22a792c32392e154bd1dbe910b69ad5a615b666
parent35f9ffa85fb68e0624111a76e27955524649950a (diff)
fix typo
-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();