diff --git a/docs/source/tutorials/code/room_env.py b/docs/source/tutorials/code/room_env.py index a4337bf9..2e8420b7 100644 --- a/docs/source/tutorials/code/room_env.py +++ b/docs/source/tutorials/code/room_env.py @@ -63,7 +63,7 @@ def step(self, action): elif action == 3: movement[0] += 0.1 else: - assert ValueError('The environment has only 4 actions') + raise ValueError('The environment has only 4 actions') # Apply the movement with some noise: self._state += movement + np.random.randn(2)*0.05 diff --git a/mushroom_rl/__init__.py b/mushroom_rl/__init__.py index 4e2fb170..c2950efb 100644 --- a/mushroom_rl/__init__.py +++ b/mushroom_rl/__init__.py @@ -1 +1 @@ -__version__ = '2.0.0-rc1' +__version__ = '2.0.0-rc1' \ No newline at end of file