Adapted to configurable map type in pstats.

This commit is contained in:
Ulrich Germann 2014-03-24 13:32:41 +00:00
parent 794defa238
commit 20aa9dd189

View File

@ -53,7 +53,7 @@ nbest_phrasepairs(uint64_t const pid1,
pstats const& ps, pstats const& ps,
vector<PhrasePair> & nbest) vector<PhrasePair> & nbest)
{ {
boost::unordered_map<uint64_t,jstats>::const_iterator m; pstats::trg_map_t::const_iterator m;
vector<size_t> idx(nbest.size()); vector<size_t> idx(nbest.size());
size_t i=0; size_t i=0;
for (m = ps.trg.begin(); for (m = ps.trg.begin();