Closed bartvanerp closed 3 months ago
Should also be fixed in graphppl 4.0 but I'll close this myself after we merge everything and I've checked.
@wouterwln why is this issue closed? This doesn't seem working in RxInfer.jl
Ah, it is fixed in the new GraphPPL release, we should probably reopen until it is fully merged
The following code excerpt fails:
with error
MethodError: no method matching as_variable(::FactorGraphModel, ::RandomVariable, ::RandomVariable, ::RandomVariable, ::RandomVariable, ::RandomVariable, ::RandomVariable, ::RandomVariable, ::RandomVariable, ::RandomVariable, ::RandomVariable)
.It likely has to do with the splat operator, possibly in combination with the non-linear node. This functionality is very useful for dealing with multiple random variables going into a non-linear node. This prevents us from having to write
foo(z[1], z[2], ....)
, which is not automatable when the number is a hyperparameter.