Skip to content

Commit

Permalink
test damping with reals
Browse files Browse the repository at this point in the history
  • Loading branch information
stecrotti committed Jan 8, 2025
1 parent b76a384 commit 251ddb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Models/ising.jl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ end
β = rand(rng)
ising = Ising(g, J, h, β)
bp = fast_ising_bp(ising)
iterate!(bp; maxiter=50, tol=1e-10)
iterate!(bp; maxiter=50, tol=1e-10, damp=0.1)
b = beliefs(bp)
fb = factor_beliefs(bp)
bp_slow = BP(ising)
Expand Down

0 comments on commit 251ddb8

Please sign in to comment.