Commit 44a1cf04 authored by Mathieu Giraud's avatar Mathieu Giraud

core/windowExtractor.cpp: out_stats, pretty-print

parent 20f32bb3
......@@ -152,7 +152,12 @@ void WindowExtractor::out_stats(ostream &out)
{
for (int i=0; i<STATS_SIZE; i++)
{
if (i == TOTAL_SEG_AND_WINDOW)
// stats[NOT_PROCESSED] should equal to 0
if (i == NOT_PROCESSED && (!stats[i].nb))
continue;
// Pretty-print
if (i == UNSEG_TOO_SHORT)
out << endl;
out << stats[i] << endl ;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment