Skip to content

Commit

Permalink
Type assertion removed
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeyT1994 committed Nov 28, 2023
1 parent a3db9c0 commit 487c43f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/beliefpropagation/beliefpropagation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ function belief_propagation(
tn::ITensorNetwork,
mts::DataGraph;
contract_kwargs=(; alg="density_matrix", output_structure=path_graph_structure, maxdim=1),
niters::Union{Int64,Nothing}=default_bp_niters(mts),
niters=default_bp_niters(mts),
target_precision=nothing,
edges=edge_sequence(mts),
verbose=false,
Expand Down

0 comments on commit 487c43f

Please sign in to comment.