Skip to content
Snippets Groups Projects
Commit 6d121ae9 authored by robin.perrotin's avatar robin.perrotin
Browse files

.

parent ebf2ed73
Branches
No related tags found
No related merge requests found
...@@ -196,7 +196,7 @@ void simple_decoder_parser_arc_eager(context *ctx) ...@@ -196,7 +196,7 @@ void simple_decoder_parser_arc_eager(context *ctx)
if(b1 && b2 && b3){ if(b1 && b2 && b3){
if(sumExp < 0.){ if(sumExp < 0.){
ScoreTranslation += vcode_array[i].score; ScoreTranslation += vcode_array[i].score;
sumExp = 0. sumExp = 0.;
} }
if(vcode_array[i].score - ScoreTranslation >= 0){ if(vcode_array[i].score - ScoreTranslation >= 0){
sumExp += exp(vcode_array[i].score - ScoreTranslation); sumExp += exp(vcode_array[i].score - ScoreTranslation);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment