From ac82594858c278685ff7b99a4bfe42385966fba2 Mon Sep 17 00:00:00 2001 From: epapoutsellis Date: Sun, 7 Apr 2019 22:41:10 +0100 Subject: fix prox conjugate --- Wrappers/Python/ccpi/optimisation/functions/L2NormSquared.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3