Skip to content

Commit 5b4a8fa

Browse files
committed
No default maxiter
1 parent 6222386 commit 5b4a8fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/caches/abstractbeliefpropagationcache.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function default_message(elt::Type{<:Number}, inds_e)
5757
return default_message(Vector{elt}, inds_e)
5858
end
5959
default_messages(ptn::PartitionedGraph) = Dictionary()
60-
@traitfn default_bp_maxiter(g::::(!IsDirected)) = is_tree(g) ? 1 : 30
60+
@traitfn default_bp_maxiter(g::::(!IsDirected)) = is_tree(g) ? 1 : nothing
6161
@traitfn function default_bp_maxiter(g::::IsDirected)
6262
return default_bp_maxiter(undirected_graph(underlying_graph(g)))
6363
end

0 commit comments

Comments
 (0)