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 | 3a071247b3da1640147f9e5705e3398570d9f127 (patch) | |
tree | c22a792c32392e154bd1dbe910b69ad5a615b666 /gi/pf/base_distributions.h | |
parent | 35f9ffa85fb68e0624111a76e27955524649950a (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(); |