Skip to content

Commit

Permalink
Remove deprecated AlphaVectorPolicy constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
zsunberg committed Jun 7, 2019
1 parent ed96d56 commit 63b0b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vanilla.jl
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ function solve(solver::QMDPSolver, pomdp::POMDP; kwargs...)
vi_solver = ValueIterationSolver(max_iterations=solver.max_iterations, belres=solver.tolerance, verbose=solver.verbose, include_Q=true)
vi_policy = solve(vi_solver, pomdp)

return AlphaVectorPolicy(pomdp, vi_policy.qmat)
return AlphaVectorPolicy(pomdp, vi_policy.qmat, vi_policy.action_map)
end

0 comments on commit 63b0b42

Please sign in to comment.