diff options
author | Hieu Hoang <s0565741@odin.inf.ed.ac.uk> | 2016-08-18 11:24:02 +0300 |
---|---|---|
committer | Hieu Hoang <s0565741@odin.inf.ed.ac.uk> | 2016-08-18 11:24:02 +0300 |
commit | d196279be892a06f852dce9beb4041ff5c018634 (patch) | |
tree | 62afb34dec00dabd5eed0027278c1e56d907c899 /moses/TranslationModel | |
parent | 632d0e7a279ba1beeb94852c0863d482b45d46e3 (diff) |
compile error on some gcc
Diffstat (limited to 'moses/TranslationModel')
-rw-r--r-- | moses/TranslationModel/UG/mmsapt.cpp | 1 | ||||
-rw-r--r-- | moses/TranslationModel/UG/mmsapt.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/moses/TranslationModel/UG/mmsapt.cpp b/moses/TranslationModel/UG/mmsapt.cpp index 0120227d7..37cf95280 100644 --- a/moses/TranslationModel/UG/mmsapt.cpp +++ b/moses/TranslationModel/UG/mmsapt.cpp @@ -70,6 +70,7 @@ namespace Moses , bias_key(((char*)this)+3) , cache_key(((char*)this)+2) , context_key(((char*)this)+1) + , m_track_coord(false) // , m_tpc_ctr(0) // , m_ifactor(1,0) // , m_ofactor(1,0) diff --git a/moses/TranslationModel/UG/mmsapt.h b/moses/TranslationModel/UG/mmsapt.h index c573f2181..224421683 100644 --- a/moses/TranslationModel/UG/mmsapt.h +++ b/moses/TranslationModel/UG/mmsapt.h @@ -119,7 +119,7 @@ namespace Moses std::vector<SPTR<pscorer > > m_active_ff_common; // activated feature functions (dyn) - bool m_track_coord = false; // track coordinates? Track sids when sampling + bool m_track_coord; // track coordinates? Track sids when sampling // from bitext, append coords to target phrases // Space < Sid < sptr sentence coords > > std::vector<std::vector<SPTR<std::vector<float> > > > m_sid_coord_list; |