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.
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: f5d636078e73450abf2183305c5e43efec2a5605@3978 1f5c12ca-751b-0410-a591-d2e778427230

emjotde/mosesdecoder_nmt,hychyc07/mosesdecoder,alvations/mosesdecoder,hychyc07/mosesdecoder,moses-smt/mosesdecoder,KonceptGeek/mosesdecoder,hychyc07/mosesdecoder,KonceptGeek/mosesdecoder,moses-smt/mosesdecoder,pjwilliams/mosesdecoder,moses-smt/mosesdecoder,KonceptGeek/mosesdecoder,emjotde/mosesdecoder_nmt,alvations/mosesdecoder,moses-smt/mosesdecoder,moses-smt/mosesdecoder,alvations/mosesdecoder,emjotde/mosesdecoder_nmt,moses-smt/mosesdecoder,hychyc07/mosesdecoder,pjwilliams/mosesdecoder,tofula/mosesdecoder,tofula/mosesdecoder,hychyc07/mosesdecoder,pjwilliams/mosesdecoder,alvations/mosesdecoder,pjwilliams/mosesdecoder,emjotde/mosesdecoder_nmt,tofula/mosesdecoder,tofula/mosesdecoder,KonceptGeek/mosesdecoder,emjotde/mosesdecoder_nmt,hychyc07/mosesdecoder,alvations/mosesdecoder,pjwilliams/mosesdecoder,moses-smt/mosesdecoder,KonceptGeek/mosesdecoder,alvations/mosesdecoder,emjotde/mosesdecoder_nmt,tofula/mosesdecoder,pjwilliams/mosesdecoder,pjwilliams/mosesdecoder,tofula/mosesdecoder,KonceptGeek/mosesdecoder,emjotde/mosesdecoder_nmt,pjwilliams/mosesdecoder,tofula/mosesdecoder,emjotde/mosesdecoder_nmt,moses-smt/mosesdecoder,moses-smt/mosesdecoder,moses-smt/mosesdecoder,hychyc07/mosesdecoder,tofula/mosesdecoder,alvations/mosesdecoder,pjwilliams/mosesdecoder,emjotde/mosesdecoder_nmt,tofula/mosesdecoder,pjwilliams/mosesdecoder,KonceptGeek/mosesdecoder,alvations/mosesdecoder,alvations/mosesdecoder,hychyc07/mosesdecoder,moses-smt/mosesdecoder,alvations/mosesdecoder,alvations/mosesdecoder,KonceptGeek/mosesdecoder,hychyc07/mosesdecoder,hychyc07/mosesdecoder,tofula/mosesdecoder,KonceptGeek/mosesdecoder,emjotde/mosesdecoder_nmt,tofula/mosesdecoder,KonceptGeek/mosesdecoder