summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Wrappers/Python/ccpi/optimisation/functions/L2NormSquared.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Wrappers/Python/ccpi/optimisation/functions/L2NormSquared.py b/Wrappers/Python/ccpi/optimisation/functions/L2NormSquared.py
index 889d703..f96c7a1 100644
--- a/Wrappers/Python/ccpi/optimisation/functions/L2NormSquared.py
+++ b/Wrappers/Python/ccpi/optimisation/functions/L2NormSquared.py
@@ -119,7 +119,7 @@ class L2NormSquared(Function):
if out is None:
if self.b is not None:
# change the order cannot add ImageData + NestedBlock
- return (-1* tau*self.b + x)/(1 + tau/2)
+ return (x - tau*self.b)/(1 + tau/2)
else:
return x/(1 + tau/2 )
else: