diff options
author | epapoutsellis <epapoutsellis@gmail.com> | 2019-05-09 11:52:27 +0100 |
---|---|---|
committer | epapoutsellis <epapoutsellis@gmail.com> | 2019-05-09 11:52:27 +0100 |
commit | aef8bcccaad00a63ae51d052f93b9efb548e1b6a (patch) | |
tree | 4f2712a59c72b66b7d3c58726e95138ae580239b /Wrappers | |
parent | d158b57e6bf7893288ef7bc0551b267c4b9f42f3 (diff) | |
download | framework-aef8bcccaad00a63ae51d052f93b9efb548e1b6a.tar.gz framework-aef8bcccaad00a63ae51d052f93b9efb548e1b6a.tar.bz2 framework-aef8bcccaad00a63ae51d052f93b9efb548e1b6a.tar.xz framework-aef8bcccaad00a63ae51d052f93b9efb548e1b6a.zip |
remove comments
Diffstat (limited to 'Wrappers')
-rw-r--r-- | Wrappers/Python/ccpi/optimisation/functions/KullbackLeibler.py | 15 |
1 files changed, 1 insertions, 14 deletions
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): |