hi yonee 1. i didn't see any problems with it. can you give some more details of where it conditonally branched because of the #define
2. when line is empty, line[0] == 0x. therefore, it's still valid. i think. had me worried there On 11/08/2010 02:44, Yonee Yang wrote: > hi: > 1. > 96th line in "PhraseDictionary.cpp " > > assert(pdm->Load(m_input > , m_output > , m_filePath > , m_weight > , m_tableLimit > , staticData.GetAllLM() > , staticData.GetWeightWordPenalty())); > return pdm; > > if define NDEBUG these codes can't be reached, is a bug? > > 2. > 455th line in "Parameter.cpp" > > if (line[0]=='[') > > if line is empty , access Illegal. is a bug? > > > _______________________________________________ > Moses-support mailing list > [email protected] > http://mailman.mit.edu/mailman/listinfo/moses-support
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
