From 8698a5a7bb339149eea305e47ac691cac18e0513 Mon Sep 17 00:00:00 2001 From: Margaret Duff <43645617+MargaretDuff@users.noreply.github.com> Date: Wed, 9 Aug 2023 16:34:50 +0100 Subject: [PATCH] Update Wrappers/Python/cil/optimisation/functions/TotalVariation.py Co-authored-by: Gemma Fardell <47746591+gfardell@users.noreply.github.com> Signed-off-by: Margaret Duff <43645617+MargaretDuff@users.noreply.github.com> --- Wrappers/Python/cil/optimisation/functions/TotalVariation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Wrappers/Python/cil/optimisation/functions/TotalVariation.py b/Wrappers/Python/cil/optimisation/functions/TotalVariation.py index 11df5e3a49..2059856a6b 100644 --- a/Wrappers/Python/cil/optimisation/functions/TotalVariation.py +++ b/Wrappers/Python/cil/optimisation/functions/TotalVariation.py @@ -368,8 +368,8 @@ def _fista_on_dual_rof(self, x, tau, out = None): tmp = p1 p1 = p2 p2 = tmp - if self.warmstart: - self.p2=p2 + if self.warmstart: + self._p2 = p2 # Print stopping information (iterations and tolerance error) of FGP_TV if self.info: