Skip to content

tcksift: Fix -nthreads 0#3311

Open
Lestropie wants to merge 1 commit into
masterfrom
tcksift_nthreadszero
Open

tcksift: Fix -nthreads 0#3311
Lestropie wants to merge 1 commit into
masterfrom
tcksift_nthreadszero

Conversation

@Lestropie
Copy link
Copy Markdown
Member

The purpose of this code block is to say that if the total number of streamlines is very small, divide that set of streamlines equally amongst the number of available threads. However it failed to account for the prospect of -nthreads 0, leading to a divide-by-zero.

@Lestropie Lestropie requested a review from a team April 17, 2026 13:08
@Lestropie Lestropie self-assigned this Apr 17, 2026
@Lestropie Lestropie added the bug label Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant