Skip to content

Commit 4bde75a

Browse files
committed
fixed bug with AbstractDict constructor for experimental Gibbs
1 parent 5e047ef commit 4bde75a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/experimental/gibbs.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ end
193193

194194
# AbstractDict
195195
function Gibbs(algs::AbstractDict)
196-
return Gibbs(keys(algs), map(wrap_algorithm_maybe, values(algs)))
196+
return Gibbs(collect(keys(algs)), map(wrap_algorithm_maybe, values(algs)))
197197
end
198198
function Gibbs(algs::Pair...)
199199
return Gibbs(map(first, algs), map(wrap_algorithm_maybe, map(last, algs)))

0 commit comments

Comments
 (0)