Skip to content

Commit

Permalink
referenced bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zsunberg committed Jun 13, 2020
1 parent 609fe87 commit fea17ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generative.jl
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ Let `m` be an `MDP` or `POMDP`, `s` be a state of `m`, `a` be an action of `m`,
"""
macro gen(symbols...)
quote
# this should be an anonymous function, but there is a bug
# this should be an anonymous function, but there is a bug (https://github.com/JuliaLang/julia/issues/36272)
f(m, s, a, rng=Random.GLOBAL_RNG) = gen(DDNOut($(symbols...)), m, s, a, rng)
end
end

0 comments on commit fea17ec

Please sign in to comment.