mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-26 13:23:25 +03:00
Changed order of member initialization in constructor to avoid compiler warnings.
This commit is contained in:
parent
7996378ffb
commit
eaac9f5491
@ -54,17 +54,19 @@ Hypothesis::Hypothesis(Manager& manager, InputType const& source, const TargetPh
|
||||
, m_sourceCompleted(source.GetSize(), manager.m_source.m_sourceCompleted)
|
||||
, m_sourceInput(source)
|
||||
, m_currSourceWordsRange(
|
||||
m_sourceCompleted.GetFirstGapPos()>0 ? 0 : NOT_FOUND,
|
||||
m_sourceCompleted.GetFirstGapPos()>0 ? m_sourceCompleted.GetFirstGapPos()-1 : NOT_FOUND)
|
||||
m_sourceCompleted.GetFirstGapPos() > 0
|
||||
? 0 : NOT_FOUND,
|
||||
m_sourceCompleted.GetFirstGapPos() > 0
|
||||
? m_sourceCompleted.GetFirstGapPos()-1
|
||||
: NOT_FOUND)
|
||||
, m_currTargetWordsRange(0, emptyTarget.GetSize()-1)
|
||||
, m_wordDeleted(false)
|
||||
, m_totalScore(0.0f)
|
||||
, m_futureScore(0.0f)
|
||||
, m_ffStates(StatefulFeatureFunction::GetStatefulFeatureFunctions().size())
|
||||
, m_arcList(NULL)
|
||||
, m_transOpt(NULL)
|
||||
, m_manager(manager)
|
||||
, m_totalScore(0.0f)
|
||||
, m_futureScore(0.0f)
|
||||
|
||||
, m_manager(manager)
|
||||
, m_id(m_manager.GetNextHypoId())
|
||||
{
|
||||
// used for initial seeding of trans process
|
||||
|
Loading…
Reference in New Issue
Block a user