Commit 84e0715c authored by Tiago Peixoto's avatar Tiago Peixoto

Fix issue with UncertainBaseState.collect_marginal()

parent d3054de6
......@@ -271,8 +271,9 @@ class UncertainBaseState(object):
if "eprob" not in g.ep:
g.ep.eprob = g.new_ep("double")
u = self.get_graph()
libinference.collect_marginal(g._Graph__graph,
self.u._Graph__graph,
u._Graph__graph,
_prop("e", g, g.ep.count))
g.gp.count += 1
g.ep.eprob.fa = g.ep.count.fa
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment