Skip to content

Commit 370fad7

Browse files
committed
fix docstring
1 parent 4309e96 commit 370fad7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/belief.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ Run the belief propagation algorithm, and return the final state and the informa
116116
### Keyword Arguments
117117
- `max_iter::Int=100`: the maximum number of iterations
118118
- `tol::Float64=1e-6`: the tolerance for the convergence
119+
- `damping::Float64=0.2`: the damping factor for the message update, updated-message = damping * old-message + (1 - damping) * new-message
119120
"""
120121
function belief_propagate(bp::BeliefPropgation; kwargs...)
121122
state = initial_state(bp)

0 commit comments

Comments
 (0)