Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
FlyingWorkshop committed Jun 23, 2024
1 parent 21e3f5c commit a3a05a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/envs/circular.jl
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ function POMDPs.transition(pomdp::CircularMaze, s::CircularMazeState, a::Integer
return d
end

function POMDPs.reward(pomdp::CircularMaze, s::Union{CircularMaze, TerminalState}, a::Integer)
function POMDPs.reward(pomdp::CircularMaze, s::Union{CircularMazeState, TerminalState}, a::Integer)
@assert a in actions(pomdp) "Unrecognized action $a"
if s pomdp.goals && a == CMAZE_DECLARE_GOAL
r = pomdp.r_findgoal
Expand Down

0 comments on commit a3a05a3

Please sign in to comment.