Skip to content

Commit d962403

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

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
@@ -144,7 +144,7 @@ function map_factors(f, bpc::AbstractBeliefPropagationCache, vs=vertices(bpc))
144144
return bpc
145145
end
146146
function adapt_messages(to, bpc::AbstractBeliefPropagationCache, args...)
147-
map_messages(adapt(to), bpc, args...)
147+
return map_messages(adapt(to), bpc, args...)
148148
end
149149
function adapt_factors(to, bpc::AbstractBeliefPropagationCache, args...)
150150
map_factors(adapt(to), bpc, args...)

0 commit comments

Comments
 (0)