summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4b7d652)
raw | patch | inline | side by side (parent: 4b7d652)
author | lnetsch <lnetsch@mycompany.com> | |
Wed, 11 May 2011 18:01:14 +0000 (18:01 +0000) | ||
committer | lnetsch <lnetsch@mycompany.com> | |
Wed, 11 May 2011 18:01:14 +0000 (18:01 +0000) |
TIesrEngine/src/jac-estm.cpp | patch | blob | history |
index caf3973dc99f31c0533b0004fd405845384e10b9..f15056187830968c05eb428da2b583a2cce925a7 100755 (executable)
#endif
FOREACH(d, gv->n_filter*2) {
-
- long top = (gv->frm_cnt == 0)?0:(loc_accum[d] / gv->frm_cnt); /* each utterance has a same weight */
+
+ /* each utterance has a same weight */
+ long top = (frame_cnt[0] == 0) ? 0 : (loc_accum[d] / frame_cnt[0]);
#ifdef USE_IJAC
glb_accum[d] = q15_x(gv->smooth_coef, glb_accum[d]) + top;
#else