-
Notifications
You must be signed in to change notification settings - Fork 1
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
StackOverflowError when using callable syntax #24
Comments
It's the callable syntax in particular because if I index the distribution as implemented here it's ok:
|
Distributions v0.24 vs. v0.25 doesn't make a difference |
Tested on Julia 1.6.4 and also same error |
I checked and this does not happen on Julia branches |
I've started hitting this. Two comments fwiw:
Although I can recover all the errors as listed here including the syntax one, if we define:
and replace this line
then:
I suspect it worked because of some running-in-the-REPL reason which seems to affect type inference sometimes. |
MWE:
Note that it still returns the correct result, but I have seen it cause total failure in downstream code.
I don't think this is covered by tests as they still pass locally without this error. It doesn't seem to be a problem for
FullNormal
. The code below is adapted from the "marginalising" testset:The text was updated successfully, but these errors were encountered: