Skip to content

Commit

Permalink
Merge pull request #12 from thejat/example_fix
Browse files Browse the repository at this point in the history
fixed firemdp.py AssertionError caused by incorrect argument sequence
  • Loading branch information
sawcordwell committed Mar 26, 2015
2 parents 87b2b1e + f32a6d8 commit b70f9eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/examples/firemdp.py
Expand Up @@ -262,7 +262,7 @@ def getTransitionAndRewardArrays(s):
# Loop over all actions
for a in range(ACTIONS):
# Assign the transition probabilities for this state, action pair
P[a][idx] = getTransitionProbabilities(x, F, s, a)
P[a][idx] = getTransitionProbabilities(s, x, F, a)
return(P, R)

def solveMDP():
Expand Down

0 comments on commit b70f9eb

Please sign in to comment.