etaprinter icon indicating copy to clipboard operation
etaprinter copied to clipboard

ArithmeticException thrown when stepDuration is 0

Open schrepfler opened this issue 5 years ago • 0 comments

In case of very fast processing it's possible stepDuration to be 0 in that case an ArtimeticException is thrown.

https://github.com/vdurmont/etaprinter/blob/29712b2f9f9ff633ca1853c74f8fed90fa1b8136/src/main/java/com/vdurmont/etaprinter/ETAPrinter.java#L119

schrepfler avatar Feb 03 '20 14:02 schrepfler