-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
StackOverflow when inferring Base.vect
with many (>1000) arguments
#55341
Comments
I think the strategy to solve this down-stream will be to:
Both avoid the need for inference to descend large recursive function hierarchies |
It also seems like inference should have better limits for this so that |
What version are you using? This seems likely to have been fixed already by #53665 as there is no afoldl in your backtrace, but there is on master |
I can confirm this works on master. |
Yeah, hit this on 1.10 - Sorry about that, should have checked on master but it's been a lot of different Julia versions this week 😅 |
The problematic inference stack looks (roughly) like this:
Code like this can apparently end up generated by MTK (
SymbolicUtils.Code.create_array
), which is where I encountered this.The text was updated successfully, but these errors were encountered: