Commit f32a6d86 authored by Theja's avatar Theja

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
Finish editing this message first!
Please register or to comment