diff options
author | Chris Dyer <cdyer@cs.cmu.edu> | 2012-04-19 11:34:16 -0400 |
---|---|---|
committer | Chris Dyer <cdyer@cs.cmu.edu> | 2012-04-19 11:34:16 -0400 |
commit | cf693c4334304360b5e718bf1e8485e59fc38a54 (patch) | |
tree | a6e6b40272622fba65e69eb196bf1a2ee2b9ee69 /gi/pf/base_distributions.h | |
parent | d016f7f28510f822b89c921da38006eae3877872 (diff) |
fix typo
Diffstat (limited to 'gi/pf/base_distributions.h')
-rw-r--r-- | gi/pf/base_distributions.h | 2 |
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(); |