From 487c43ffd5c4bb38660bcb658cb899cf48eb6de5 Mon Sep 17 00:00:00 2001 From: Joseph Tindall Date: Tue, 28 Nov 2023 09:57:43 -0500 Subject: [PATCH] Type assertion removed --- src/beliefpropagation/beliefpropagation.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/beliefpropagation/beliefpropagation.jl b/src/beliefpropagation/beliefpropagation.jl index 9e55fcb2..8a1f17b4 100644 --- a/src/beliefpropagation/beliefpropagation.jl +++ b/src/beliefpropagation/beliefpropagation.jl @@ -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,