craigfe / progress

Progress bar library for OCaml

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`Progress.count ~pp` doesn't accumulate correctly

craigfe opened this issue · comments

The ~pp argument to Progress.counter is currently handled via Line.of_printer, which doesn't accumulate its argument: https://github.com/CraigFe/progress/blob/main/src/progress/engine/progress_engine.ml#L45. It should use Line.sum instead.

Report by @Ngoguey42.

Fixed by #19.