Codebase list golang-github-vbauerster-mpb / 33c8d45
ups fix Vladimir Bauer 6 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
7676 func (d *movingAverageSpeed) Decor(st *Statistics) string {
7777 if !st.Completed {
7878 var speed float64
79 if v := d.average.Value(); v < 0 {
79 if v := d.average.Value(); v > 0 {
8080 speed = 1 / v
8181 }
8282 d.msg = d.producer(speed * 1e9)