Skip to content

Commit

Permalink
Merge pull request #33 from JuliaPOMDP/sparse
Browse files Browse the repository at this point in the history
bug fix in action map
  • Loading branch information
MaximeBouton authored Aug 14, 2019
2 parents a9df578 + 722b110 commit 40623ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sparse.jl
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ function solve(solver::SparseValueIterationSolver, mdp::SparseTabularMDP)
end

function solve(solver::SparseValueIterationSolver, mdp::MDP)
return solve(solver, SparseTabularMDP(mdp))
p = solve(solver, SparseTabularMDP(mdp))
return ValueIterationPolicy(p.qmat, p.util, p.policy, ordered_actions(mdp), p.include_Q, mdp)
end

function solve(::SparseValueIterationSolver, ::POMDP)
Expand Down

0 comments on commit 40623ae

Please sign in to comment.