Skip to content

Commit

Permalink
bug fix for correct
Browse files Browse the repository at this point in the history
  • Loading branch information
Psy-Fer committed Feb 14, 2019
1 parent 9e7d225 commit f3bc0b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions segmenter.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,8 @@ def get_segs(sig, args):
w += 1
if prev_err:
prev_err = 0
if c >= w:
if c >= w and not c % w:
err -= 1

else:
if prev and err < args.error:
c += 1
Expand Down

0 comments on commit f3bc0b8

Please sign in to comment.