Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix bug when the number of segments is integer(line-chunk) #1

Merged
merged 1 commit into from
Oct 26, 2017

Conversation

xiongjiabin
Copy link
Owner

if numberOfSegments is an integer, like line length is 100, and segmentLength is 10, it's just 10 segments, no need to plus 1 to 11, otherwise will throw an exception later.

if numberOfSegments is an integer,  like line length is 100, and segmentLength is 10, it's just 10 segments,
no need to plus 1 to 11, otherwise will throw exception later.
@xiongjiabin xiongjiabin merged commit 6df6333 into master Oct 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant