summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlnetsch2013-04-16 10:25:36 -0500
committerlnetsch2013-04-16 10:25:36 -0500
commit62af41dde78eacec9ad3aefa6f8017147a685d8c (patch)
tree21176b27b2ef6a0bd9c678ec9e6177ff9cc6d659
parent9ff9c1455717a317f0ceb313b91bad316a43b30f (diff)
downloadtiesr-gforge-62af41dde78eacec9ad3aefa6f8017147a685d8c.tar.gz
tiesr-gforge-62af41dde78eacec9ad3aefa6f8017147a685d8c.tar.xz
tiesr-gforge-62af41dde78eacec9ad3aefa6f8017147a685d8c.zip
[#1450] Clarify documentation.
-rwxr-xr-xTIesrEngine/src/search.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/TIesrEngine/src/search.cpp b/TIesrEngine/src/search.cpp
index 7c5b699..73fbce4 100755
--- a/TIesrEngine/src/search.cpp
+++ b/TIesrEngine/src/search.cpp
@@ -2029,16 +2029,16 @@ search_a_frame(short mfcc_feature[], short not_end,
2029 gv->need_compact = TRUE; 2029 gv->need_compact = TRUE;
2030 } 2030 }
2031#else 2031#else
2032 /* Check if beam cell overflow is predicted to occur in less than 2032 /* Check and set to compact if beam cell overflow is predicted to occur
2033 BEAM_COMPACT_FRAMES from current frame */ 2033 in less than BEAM_COMPACT_FRAMES from current frame */
2034 if( gv->max_beam_cell - gv->active_beam_cells - (int)gv->beam_count*BEAM_COMPACT_FRAMES <= 0 ) 2034 if( gv->max_beam_cell - gv->active_beam_cells - (int)gv->beam_count*BEAM_COMPACT_FRAMES <= 0 )
2035 { 2035 {
2036 gv->need_compact = TRUE; 2036 gv->need_compact = TRUE;
2037 } 2037 }
2038#endif 2038#endif
2039 2039
2040 /* Since at most one time cell is consumed per frame, only compact if 2040 /* Since at most one time cell is consumed per frame, compact if
2041 the next frame would not have an available time cell. */ 2041 the next frame uses last available time cell.. */
2042 if( gv->active_time_cells >= gv->max_time_cell - 1 ) 2042 if( gv->active_time_cells >= gv->max_time_cell - 1 )
2043 { 2043 {
2044 gv->need_compact = TRUE; 2044 gv->need_compact = TRUE;