Skip to content

Commit

Permalink
Restore file
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeyT1994 committed Jul 11, 2024
1 parent b5699e5 commit e1e13ba
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/caches/beliefpropagationcache.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ function default_message_update(contract_list::Vector{ITensor}; kwargs...)
end
return ITensor[updated_messages]
end

@traitfn default_bp_maxiter(g::::(!IsDirected)) = is_tree(g) ? 1 : nothing
@traitfn function default_bp_maxiter(g::::IsDirected)
return default_bp_maxiter(undirected_graph(underlying_graph(g)))
Expand Down

0 comments on commit e1e13ba

Please sign in to comment.