diff options
author | Edoardo Pasca <edo.paskino@gmail.com> | 2019-10-18 22:28:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-18 22:28:00 +0100 |
commit | d6917048bf92477bc26576b010b076b49b0da1b2 (patch) | |
tree | f34a47466e6525c8720e30a91285ac58274a6053 | |
parent | 2f713dfa9d8a5dbd6fc08c94f5fc048d8838755c (diff) | |
download | framework-d6917048bf92477bc26576b010b076b49b0da1b2.tar.gz framework-d6917048bf92477bc26576b010b076b49b0da1b2.tar.bz2 framework-d6917048bf92477bc26576b010b076b49b0da1b2.tar.xz framework-d6917048bf92477bc26576b010b076b49b0da1b2.zip |
closes #370 (#395)
closes #370
-rw-r--r-- | Wrappers/Python/ccpi/optimisation/functions/KullbackLeibler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Wrappers/Python/ccpi/optimisation/functions/KullbackLeibler.py b/Wrappers/Python/ccpi/optimisation/functions/KullbackLeibler.py index a6c9545..4239423 100644 --- a/Wrappers/Python/ccpi/optimisation/functions/KullbackLeibler.py +++ b/Wrappers/Python/ccpi/optimisation/functions/KullbackLeibler.py @@ -45,7 +45,7 @@ class KullbackLeibler(Function): super(KullbackLeibler, self).__init__() self.b = data - self.bnoise = 0 + self.bnoise = data * 0. def __call__(self, x): |