summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extools/sg_lexer.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/extools/sg_lexer.l b/extools/sg_lexer.l
index f82e8135..9051ba51 100644
--- a/extools/sg_lexer.l
+++ b/extools/sg_lexer.l
@@ -241,7 +241,7 @@ ALIGN [0-9]+-[0-9]+
}
<FEATVAL>{REAL} {
// std::cerr << "Feature val input: " << yytext << std::endl;
- cur_stats->counts.set_value(sglex_cur_fid, strtod(yytext, NULL));
+ cur_stats->counts[sglex_cur_fid] += strtod(yytext, NULL);
BEGIN(FEATS);
}
<FEATVAL>. {