Skip to content

MethodError: no method matching length(::Variable) #161

Closed
@quantumhub

Description

@quantumhub

Thanks for this great work which makes FG inference a lot easier!
In demo (ForneyLab.jl-master/demo/bayes_rule_2d.ipynb)
Slightly change of the calculation in factor graph makes it fail:

@rv y ~ GaussianMeanVariance(A*(x.^2) + b, Sigma_y) # Likelihood

The error message is:
MethodError: no method matching length(::Variable)

Could any one help? Thanks.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions