mosesdecoder/moses
naditomeh 5019e98abe A minor issue when trying to output the search graph with one of these
flags: output-search-graph[-extended].
An empty input sentence results in a segfault.
Fix:
after the line
const Hypothesis *prevHypo = hypo->GetPrevHypo();
test if prevHypo is null before using it.


git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@3978 1f5c12ca-751b-0410-a591-d2e778427230
2011-05-16 13:41:15 +00:00
..
moses.xcodeproj warnings 2011-04-01 23:37:20 +00:00
src A minor issue when trying to output the search graph with one of these 2011-05-16 13:41:15 +00:00
moses.vcproj vs.net 2011-03-11 19:26:01 +00:00