From 6d121ae9e310af1ffea262c66c7d2bf39f97d6f3 Mon Sep 17 00:00:00 2001 From: "robin.perrotin" <robin.perrotin@lif.univ-mrs.fr> Date: Mon, 13 Nov 2017 05:12:03 +0100 Subject: [PATCH] . --- maca_trans_parser/src/simple_decoder_parser_arc_eager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 1458686..78e85ff 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); -- GitLab