Closed marius311 closed 2 years ago
Any chance I could get some guidance on this one?
Hi @marius311 , sorry to leave you hanging. Digging into this now...
I fixed it up, and added this to the tests:
@testset "https://github.com/cscherrer/Soss.jl/issues/342" begin
m = Soss.@model () begin
z ~ Dists.MvNormal(zeros(10), I)
end
t = Soss.as(m())
@test TV.transform(t, zeros(10)) == (z = zeros(10), )
end
Awesome, thanks! Will take a look.
Looks like
Soss.xform
was recently replaced withSoss.as
. I updated MuseInference accordingly, but now I see an error which I can track down to that the following produces an empty transform, whereas before it (correctly, I think?) contained a transform onz
:Any help on if this is a bug or an API update appreciated!