summaryrefslogtreecommitdiff
path: root/word-aligner/fast_align.cc
diff options
context:
space:
mode:
authorMichael Denkowski <michael.j.denkowski@gmail.com>2013-01-07 22:40:10 -0500
committerMichael Denkowski <michael.j.denkowski@gmail.com>2013-01-07 22:40:10 -0500
commit88efef0b3f24e6defd37fac207d6761bffa4678f (patch)
tree0414b26a22465304fec7e6ca990e08d904321323 /word-aligner/fast_align.cc
parent156e1c1a9fd60b6c0a231c5f52b63d97745e7b8c (diff)
parentf6ce733312648a3dfce070cc571794e70a12881c (diff)
Merge branch 'master' of github.com:redpony/cdec
Diffstat (limited to 'word-aligner/fast_align.cc')
-rw-r--r--word-aligner/fast_align.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/word-aligner/fast_align.cc b/word-aligner/fast_align.cc
index 9d698074..9eb1dbc6 100644
--- a/word-aligner/fast_align.cc
+++ b/word-aligner/fast_align.cc
@@ -213,7 +213,7 @@ int main(int argc, char** argv) {
if (favor_diagonal && optimize_tension && iter > 0) {
for (int ii = 0; ii < 8; ++ii) {
double mod_feat = 0;
- unordered_map<pair<short,short>,unsigned>::iterator it = size_counts.begin();
+ unordered_map<pair<short,short>,unsigned,boost::hash<pair<short, short> > >::iterator it = size_counts.begin();
for(; it != size_counts.end(); ++it) {
const pair<short,short>& p = it->first;
for (short j = 1; j <= p.first; ++j)