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

Bugfix for odd linenumber height(segment) #1

Open
Carandiru0 opened this issue Oct 9, 2017 · 0 comments
Open

Bugfix for odd linenumber height(segment) #1

Carandiru0 opened this issue Oct 9, 2017 · 0 comments

Comments

@Carandiru0
Copy link

if (thread_index + 1 == RBF_MAX_THREADS)
height_segment = height - thread_index * height_segment;

should be changed to:

if (thread_index + 1 == RBF_MAX_THREADS)
height_segment = height - thread_index * height_segment - 1;

Please note that I removed the variable for number of threads in the class for my implementation.

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

No branches or pull requests

1 participant