ERROR: BoundsError: attempt to access 3-element Array{Float64,1} at index [4] #341
Answered
by
lassepe
danortega2014
asked this question in
Problem Implementation
-
Hello, and thank you for reading my question. I am trying to make a 3x3 matrix pomdp game, and I am receiving the following error:
Here is my code:
I think the indexing issue is related to either stateindex or actionindex, but I am not sure what to do. I appreciate any suggestions, thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
lassepe
Mar 26, 2021
Replies: 1 comment 1 reply
-
Your |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
danortega2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your
initialstate
distribution is aSparseCat
over states1:9
while state space defined instates
allows only states1:3
.