Commit b70f9ebb authored by Steven Cordwell's avatar Steven Cordwell

Merge pull request #12 from thejat/example_fix

fixed firemdp.py AssertionError caused by incorrect argument sequence
parents 87b2b1eb f32a6d86
......@@ -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():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment