-
I was working through the RxInfer Coin Flip example and I am getting an error from the current code snippets when I try to do conditioning. I copy and paste the example line: conditioned = coin_model(a = 2.0, b = 7.0) | (y = [ true, false, true ], ) But julia throws an error: ERROR: MethodError: no method matching coin_model(; a::Float64, b::Float64)
Closest candidates are:
coin_model(::Any, ::Any, ::Any) got unsupported keyword arguments "a", "b"
@ Main ~/.julia/packages/RxInfer/J4Xyy/src/graphppl.jl:36 Did something change in the API that causes example to not run? I am running Julia 1.9 for this example. Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
drpjm
Jun 5, 2024
Replies: 1 comment
-
On a whim I upgraded to Julia 1.10.3 and the example worked. I did not see a primary Julia requirement in the docs. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
drpjm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On a whim I upgraded to Julia 1.10.3 and the example worked. I did not see a primary Julia requirement in the docs.