From ef8690cd43f97acaa755f9fede0b8f7a9ab40c5b Mon Sep 17 00:00:00 2001 From: Nolwen Date: Thu, 16 Dec 2021 11:30:56 +0100 Subject: [PATCH] Fix missing parenthesis in notebooks commented code In a comment, we show how to solve the domain inside a `with` block. The code was broken because of a missing ). --- notebooks/11_maze_tuto.ipynb | 2 +- notebooks/12_gym_tuto.ipynb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/notebooks/11_maze_tuto.ipynb b/notebooks/11_maze_tuto.ipynb index f112e29510..232165e15c 100644 --- a/notebooks/11_maze_tuto.ipynb +++ b/notebooks/11_maze_tuto.ipynb @@ -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", "```" ] }, diff --git a/notebooks/12_gym_tuto.ipynb b/notebooks/12_gym_tuto.ipynb index 9e0241cbf6..cbd36994e1 100644 --- a/notebooks/12_gym_tuto.ipynb +++ b/notebooks/12_gym_tuto.ipynb @@ -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", "```" ] },