-
Notifications
You must be signed in to change notification settings - Fork 25
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
@constraints simply ignore incomplete factorization constraints without any warning #118
Comments
ping @wouterwln , check that this bug is not present in the new version |
@bvdmitri this throws an |
We can throw a user-friendly error or something when we encounter smth which is unexpected (basically when not a single |
Coming back to this, I don't know if we can safely check if something is not captured by a single pipeline, since we do a postwalk over expressions and not over lines. A lot of expressions will not be captured by any pipeline. Any suggestions? |
I think the issue here is that |
That is exactly what happens, I could design an additional pipeline that triggers when it encounters a call to |
Yeah, it is unsafe, because there can a be a function named I think you already know by yourself that less transformation we do in macros is better ;) |
This is fixed in ReactiveBayes/GraphPPL.jl#117. I throw an |
The following code ignores the factorization constraints and does not give any warning
Found by @ThijsvdLaar
The text was updated successfully, but these errors were encountered: