Skip to content

Fix ihs/bee hangs - #649

Merged
darioizzo merged 2 commits into
esa:masterfrom
jschueller:hang
Sep 25, 2026
Merged

darioizzo merged 2 commits into
esa:masterfrom
jschueller:hang

Conversation

@jschueller

Copy link
Copy Markdown
Contributor

No description provided.

Non-finite fitness values turned the onlooker selection probabilities into NaN, so r < p[s] was never true and the roulette-wheel loop never terminated.
The reflection loop never terminated for infinite inputs, which ping-ponged between bounds, and took an unbounded number of iterations for far out-of-bounds finite values, see esa#576.
@darioizzo
darioizzo merged commit 94c1ea6 into esa:master Sep 25, 2026
6 of 7 checks passed
@darioizzo

Copy link
Copy Markdown
Member

The 10 limit on reflection seems arbitrary, but then, it does not really matter I believe, except in sick and likely uninterestng cases. merging.

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.

2 participants