From 05597b4428d85f5bf9a01f538f87ea5307740b54 Mon Sep 17 00:00:00 2001 From: epapoutsellis Date: Mon, 29 Apr 2019 16:58:47 +0100 Subject: fix out --- Wrappers/Python/ccpi/optimisation/functions/KullbackLeibler.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Wrappers/Python') diff --git a/Wrappers/Python/ccpi/optimisation/functions/KullbackLeibler.py b/Wrappers/Python/ccpi/optimisation/functions/KullbackLeibler.py index c5661b0..b53f669 100644 --- a/Wrappers/Python/ccpi/optimisation/functions/KullbackLeibler.py +++ b/Wrappers/Python/ccpi/optimisation/functions/KullbackLeibler.py @@ -107,8 +107,7 @@ class KullbackLeibler(Function): else: # z = x + tau * self.bnoise # out.fill( 0.5*((z + 1) - ((z-1)**2 + 4 * tau * self.b).sqrt()) ) - - + tmp1 = x + tau * self.bnoise - 1 tmp2 = tmp1 + 2 -- cgit v1.2.3