Skip to content

Commit e20632b

Browse files
committed
fixed dynamic GBP update
1 parent 6c8d2e4 commit e20632b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/inference.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ end
5858
gbp.graph.weightDirect[variable] -= gbp.system.jacobianTranspose[variable, factor]^2 / gbp.system.variance[factor]
5959

6060
gbp.graph.meanDirect[variable] += mean * gbp.system.jacobianTranspose[variable, factor] / variance
61-
gbp.graph.weightDirect[variable] += gbp.system.jacobianTranspose[variable, factor]^2 / dvariance
61+
gbp.graph.weightDirect[variable] += gbp.system.jacobianTranspose[variable, factor]^2 / variance
6262
else
6363
k = gbp.graph.dynamic[factor]
6464
@inbounds for i in gbp.graph.rowptr[k]

0 commit comments

Comments
 (0)