mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
warning
This commit is contained in:
parent
00d5dfca4d
commit
3275f1be13
@ -76,7 +76,7 @@ Moses2::HypothesisColl &Stack::GetColl(const SCFG::Word &nt)
|
||||
const Hypothesis *Stack::GetBestHypo() const
|
||||
{
|
||||
SCORE bestScore = -std::numeric_limits<SCORE>::infinity();
|
||||
const HypothesisBase *bestHypo;
|
||||
const HypothesisBase *bestHypo = NULL;
|
||||
BOOST_FOREACH(const Coll::value_type &val, m_coll){
|
||||
const Moses2::HypothesisColl &hypos = *val.second;
|
||||
const Moses2::HypothesisBase *hypo = hypos.GetBestHypo();
|
||||
|
Loading…
Reference in New Issue
Block a user