Skip to content

Fix float block index causing hang due to infinite recursion#492

Merged
mtfishman merged 2 commits intoJuliaArrays:masterfrom
KnutAM:kam/fixfloatindex
Nov 10, 2025
Merged

Fix float block index causing hang due to infinite recursion#492
mtfishman merged 2 commits intoJuliaArrays:masterfrom
KnutAM:kam/fixfloatindex

Conversation

@KnutAM
Copy link
Contributor

@KnutAM KnutAM commented Nov 10, 2025

Calling BlockIndex((1.0, 2.0), (1,2)) currently causes an infinite growth of the tuple b, which this PR fixes by requiring tuple a to have integer elements. This lead to the computer just working for a very long time (at least 10 minutes) without any error message.

Loading
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