Commit f32a6d86 authored by Theja's avatar Theja
Browse files

fixed AssertionError caused by incorrect argument sequence

parent f094638f
......@@ -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