Skip to content

Commit

Permalink
return o
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximeBouton committed Sep 23, 2019
1 parent f4668fc commit ee5f320
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/RLInterface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function _step!(env::POMDPEnvironment{OV, M, S, R, true}, a::A) where {OV, M, S,
end
function _step!(env::POMDPEnvironment{OV, M, S, R, false}, a::A) where {OV, M, S, R, A}
s, o, r = gen(DDNOut(:sp, :o, :r), env.problem, env.state, a, env.rng)
return (s, r, nothing)
return (s, o, r, nothing)
end

"""
Expand Down
2 changes: 1 addition & 1 deletion src/k_markov.jl
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function _step!(env::KMarkovEnvironment{OV, M, S, R, true}, a::A) where {OV, M,
end
function _step!(env::KMarkovEnvironment{OV, M, S, R, false}, a::A) where {OV, M, S, R, A}
s, o, r = gen(DDNOut(:sp, :o, :r), env.problem, env.state, a, env.rng)
return (s, r, nothing)
return (s, o, r, nothing)
end

"""
Expand Down

0 comments on commit ee5f320

Please sign in to comment.