Skip to content
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

Unable to run example from package announcement #90

Open
EvoArt opened this issue Jul 26, 2021 · 0 comments
Open

Unable to run example from package announcement #90

EvoArt opened this issue Jul 26, 2021 · 0 comments

Comments

@EvoArt
Copy link

EvoArt commented Jul 26, 2021

On Julia 1.6.1, in a new environment and after running the code from zigzag.jl, I get the following error when trying to run the example of using ZigZagBoomerang with Soss

julia>     trace, final, (num, acc) = @time zigzag(posterior, T) # sample Soss posterior
ERROR: MethodError: objects of type TransformVariables.TransformTuple{NamedTuple{(, ), Tuple{TransformVariables.Identity, TransformVariables.Identity}}} are not callable
Stacktrace:
 [1] zigzag(m::ConditionalModel{NamedTuple{(:x,), T} where T<:Tuple, GeneralizedGenerated.NGG.TypeLevel{Expr, "Buf{23}()"}, GeneralizedGenerated.NGG.TypeLevel{Module, "Buf{17}()"}, NamedTuple{(:x,), Tuple{Vector{Float64}}}, 
NamedTuple{(:y,), Tuple{Vector{Float64}}}}, T::Float64; c::Float64, adapt::Bool)
   @ Main .\REPL[63]:21
 [2] zigzag(m::ConditionalModel{NamedTuple{(:x,), T} where T<:Tuple, GeneralizedGenerated.NGG.TypeLevel{Expr, "Buf{23}()"}, GeneralizedGenerated.NGG.TypeLevel{Module, "Buf{17}()"}, NamedTuple{(:x,), Tuple{Vector{Float64}}}, 
NamedTuple{(:y,), Tuple{Vector{Float64}}}}, T::Float64)
   @ Main .\REPL[63]:2
 [3] top-level scope
   @ .\timing.jl:210 [inlined]
 [4] top-level scope
   @ .\REPL[65]:0
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

No branches or pull requests

1 participant