Skip to content

Commit 8850117

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

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
@@ -147,7 +147,7 @@ function adapt_messages(to, bpc::AbstractBeliefPropagationCache, args...)
147147
return map_messages(adapt(to), bpc, args...)
148148
end
149149
function adapt_factors(to, bpc::AbstractBeliefPropagationCache, args...)
150-
map_factors(adapt(to), bpc, args...)
150+
return map_factors(adapt(to), bpc, args...)
151151
end
152152

153153
function Adapt.adapt_structure(to, bpc::AbstractBeliefPropagationCache)

0 commit comments

Comments
 (0)