We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
change the 28th line to
global state = sample(1:3,weights(P[state,:]))
will eliminate the UndefVarError: state not defined Error.
This error is due to Julia's Weird Convention for writing to a global variable. here is a more clear explain at Stack Overflow
The text was updated successfully, but these errors were encountered:
Thank you for the find, the codes been fixed :)
Sorry, something went wrong.
@h-Klok Just a suggestion. Mentioning the issue (by typing #2) in your Git commit title/message would allow easier tracking.
#2
No branches or pull requests
change the 28th line to
will eliminate the UndefVarError: state not defined Error.
This error is due to Julia's Weird Convention for writing to a global variable.
here is a more clear explain at Stack Overflow
The text was updated successfully, but these errors were encountered: