summaryrefslogtreecommitdiffstats
path: root/Wrappers/Python
diff options
context:
space:
mode:
authorepapoutsellis <epapoutsellis@gmail.com>2019-04-29 16:58:47 +0100
committerepapoutsellis <epapoutsellis@gmail.com>2019-04-29 16:58:47 +0100
commit05597b4428d85f5bf9a01f538f87ea5307740b54 (patch)
treed45fe59dfd09fa1d26d76d6d2852f62e039a6497 /Wrappers/Python
parentd6dff2e80d5364450a6ca47a6f7aca66aa2ea289 (diff)
downloadframework-05597b4428d85f5bf9a01f538f87ea5307740b54.tar.gz
framework-05597b4428d85f5bf9a01f538f87ea5307740b54.tar.bz2
framework-05597b4428d85f5bf9a01f538f87ea5307740b54.tar.xz
framework-05597b4428d85f5bf9a01f538f87ea5307740b54.zip
fix out
Diffstat (limited to 'Wrappers/Python')
-rw-r--r--Wrappers/Python/ccpi/optimisation/functions/KullbackLeibler.py3
1 files changed, 1 insertions, 2 deletions
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