Skip to content

[short_path] Define num_nodes in compute_to_go #158

New issue

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

Merged
merged 1 commit into from
Jun 28, 2021

Conversation

tetrapod54
Copy link
Contributor

num_nodes in the compute_cost_to_go function refers to that in the global scope, but it should be defined in the local scope.

@jstac
Copy link
Contributor

jstac commented Jun 28, 2021

True! Thanks @tetrapod54 , well spotted.

@jstac jstac merged commit 0114859 into QuantEcon:main Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants