From aef8bcccaad00a63ae51d052f93b9efb548e1b6a Mon Sep 17 00:00:00 2001 From: epapoutsellis Date: Thu, 9 May 2019 11:52:27 +0100 Subject: remove comments --- .../Python/ccpi/optimisation/functions/KullbackLeibler.py | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'Wrappers') diff --git a/Wrappers/Python/ccpi/optimisation/functions/KullbackLeibler.py b/Wrappers/Python/ccpi/optimisation/functions/KullbackLeibler.py index 3096191..e298d92 100644 --- a/Wrappers/Python/ccpi/optimisation/functions/KullbackLeibler.py +++ b/Wrappers/Python/ccpi/optimisation/functions/KullbackLeibler.py @@ -114,20 +114,7 @@ class KullbackLeibler(Function): out *= -1 out.add(tmp+1, out=out) out *= 0.5 - - - -# z_m = x + tau * self.bnoise -1 -# self.b.multiply(4*tau, out=out) -# z_m.multiply(z_m, out=z_m) -# out += z_m -# -# out.sqrt(out=out) -# -# out *= -1 -# out += tmp2 -# out *= 0.5 - + def __rmul__(self, scalar): -- cgit v1.2.3