Skip to content

Commit b46d3f5

Browse files
committed
testing BP with dev branch
1 parent 15f210f commit b46d3f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/LDPC/decoders.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,12 @@ function sum_product_box_plus(H::S, v::T, chn::MPNoiseModel, max_iter::Int = 100
6161
check_adj_list, max_iter, :SP)
6262
end
6363

64-
function min_sum(H::S, v::T, chn::MPNoiseModel, max_iter::Int = 100, attenuation::Float64 =
65-
0.5) where {S <: CTMatrixTypes, T <: Vector{<:AbstractFloat}}
64+
function min_sum(H::T, v::T, chn::MPNoiseModel, max_iter::Int = 100, attenuation::Float64 =
65+
0.5) where T <: CTMatrixTypes
6666

6767
H_Int, w, var_adj_list, check_adj_list = _message_passing_init(H, v, chn, max_iter, :MS, 2)
6868
return _message_passing(H_Int, w, chn, _MS_check_node_message, var_adj_list, check_adj_list,
69-
max_iter, :MS, attenuation)
69+
max_iter, :MS, 0, attenuation)
7070
end
7171

7272
function _message_passing_init(H::S, v::T, chn::Union{Missing, MPNoiseModel}, max_iter::Int,

0 commit comments

Comments
 (0)