Skip to content

Commit dd687f4

Browse files
committedNov 29, 2023
fix bugs in stats.rs line 201
1 parent 226e298 commit dd687f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/stats.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ pub fn stat_fq(
198198
let rate = data[i] as f64 / sum_each as f64 * 100.0;
199199
out.push(format!("{}:({:.2}%)", data[i], rate));
200200
} else {
201-
let num = data.get(i).or(Some(&999)).unwrap();
201+
let num = data.get(i).or(Some(&0)).unwrap();
202202
out.push(format!("{}", num));
203203
}
204204
}

0 commit comments

Comments
 (0)
Please sign in to comment.