diff --git a/maca_trans_parser/src/simple_decoder_parser_arc_eager.c b/maca_trans_parser/src/simple_decoder_parser_arc_eager.c index 1458686673017d8e6ec77a90db48fd4d4b6eb5a3..78e85ff82a18506321c9a78fb0edc45299002fa2 100644 --- a/maca_trans_parser/src/simple_decoder_parser_arc_eager.c +++ b/maca_trans_parser/src/simple_decoder_parser_arc_eager.c @@ -196,7 +196,7 @@ void simple_decoder_parser_arc_eager(context *ctx) if(b1 && b2 && b3){ if(sumExp < 0.){ ScoreTranslation += vcode_array[i].score; - sumExp = 0. + sumExp = 0.; } if(vcode_array[i].score - ScoreTranslation >= 0){ sumExp += exp(vcode_array[i].score - ScoreTranslation);