Skip to content

Commit 68af294

Browse files
JoeyT1994mtfishman
andauthored
Update src/caches/abstractbeliefpropagationcache.jl
Co-authored-by: Matt Fishman <[email protected]>
1 parent ecc1c40 commit 68af294

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
@@ -50,7 +50,7 @@ end
5050
default_partitioned_vertices::AbstractITensorNetwork) = group(v -> v, vertices(ψ))
5151

5252
function Base.setindex!(bpc::AbstractBeliefPropagationCache, factor::ITensor, vertex)
53-
not_implemented()
53+
return not_implemented()
5454
end
5555
partitioned_tensornetwork(bpc::AbstractBeliefPropagationCache) = not_implemented()
5656
messages(bpc::AbstractBeliefPropagationCache) = not_implemented()

0 commit comments

Comments
 (0)