From f262cac7ba5b3e039133067b5d93d332cf717f2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Quentin=20Gallou=C3=A9dec?= <45557362+qgallouedec@users.noreply.github.com> Date: Tue, 29 Nov 2022 15:25:14 +0100 Subject: [PATCH] Update distribution docstring --- stable_baselines3/common/distributions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stable_baselines3/common/distributions.py b/stable_baselines3/common/distributions.py index a948c4b..532c2e6 100644 --- a/stable_baselines3/common/distributions.py +++ b/stable_baselines3/common/distributions.py @@ -58,7 +58,8 @@ class Distribution(ABC): """ Returns Shannon's entropy of the probability - :return: the entropy, or None if no analytical form is known + :return: The entropy + :raises NotImplementedError: If no analytical form is known """ @abstractmethod