Skip to content

Minor fix in rocksample_problem.py #78

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
Apr 21, 2025
Merged

Conversation

zkytony
Copy link
Collaborator

@zkytony zkytony commented Apr 21, 2025

Currently running python -m pomdp_py -r rocksample throws an exception

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/kaiyu/pyenv/py310/lib/python3.10/site-packages/pomdp_py/__main__.py", line 31, in <module>
    main()
  File "/home/kaiyu/pyenv/py310/lib/python3.10/site-packages/pomdp_py/problems/rocksample/rocksample_problem.py",
 line 541, in main
    rocksample = debug_instance()  # create_instance(7, 8)
NameError: name 'debug_instance' is not defined. Did you mean: 'create_instance'?

This PR fixes that.

@kzheng-bdai kzheng-bdai merged commit 2649aa5 into main Apr 21, 2025
7 checks passed
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