diff options
author | Paul Baltescu <pauldb89@gmail.com> | 2013-02-21 14:13:55 +0000 |
---|---|---|
committer | Paul Baltescu <pauldb89@gmail.com> | 2013-02-21 14:13:55 +0000 |
commit | bca26d953a774b8efca12f30407390b3f5eef9d0 (patch) | |
tree | fe922de5c89b1844f677d550dcc24e87edd67a55 /word-aligner/fast_align.cc | |
parent | 54a1c0e2bde259e3acc9c0a8ec8da3c7704e80ca (diff) | |
parent | 95c364f2cb002241c4a62bedb1c5ef6f1e9a7f22 (diff) |
Merge branch 'master' of https://github.com/pauldb89/cdec
Diffstat (limited to 'word-aligner/fast_align.cc')
-rw-r--r-- | word-aligner/fast_align.cc | 2 |
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) |