Skip to content

Commit

Permalink
Fix missing parenthesis in notebooks commented code
Browse files Browse the repository at this point in the history
In a comment, we show how to solve the domain inside
a `with` block. The code was broken because of a missing ).
  • Loading branch information
nhuet authored and galleon committed Dec 16, 2021
1 parent 6740e9e commit 7dcb528
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion notebooks/11_maze_tuto.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@
"```python\n",
"with solver_factory() as solver:\n",
" MyDomain.solve_with(solver, domain_factory)\n",
" rollout(domain=domain, solver=solver\n",
" rollout(domain=domain, solver=solver)\n",
"```"
]
},
Expand Down
2 changes: 1 addition & 1 deletion notebooks/12_gym_tuto.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@
"```python\n",
"with solver_factory() as solver:\n",
" MyDomain.solve_with(solver, domain_factory)\n",
" rollout(domain=domain, solver=solver\n",
" rollout(domain=domain, solver=solver)\n",
"```"
]
},
Expand Down

0 comments on commit 7dcb528

Please sign in to comment.