summaryrefslogtreecommitdiffstats
path: root/Wrappers
diff options
context:
space:
mode:
Diffstat (limited to 'Wrappers')
-rw-r--r--Wrappers/Python/ccpi/optimisation/functions/L2NormSquared.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Wrappers/Python/ccpi/optimisation/functions/L2NormSquared.py b/Wrappers/Python/ccpi/optimisation/functions/L2NormSquared.py
index df38f15..e73da93 100644
--- a/Wrappers/Python/ccpi/optimisation/functions/L2NormSquared.py
+++ b/Wrappers/Python/ccpi/optimisation/functions/L2NormSquared.py
@@ -106,7 +106,9 @@ class L2NormSquared(Function):
out -= self.b
out /= (1+2*tau)
if self.b is not None:
- out += self.b
+ out += self.b
+
+
def proximal_conjugate(self, x, tau, out=None):