diff options
| -rwxr-xr-x | Wrappers/Python/ccpi/optimisation/algorithms/CGLS.py | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/Wrappers/Python/ccpi/optimisation/algorithms/CGLS.py b/Wrappers/Python/ccpi/optimisation/algorithms/CGLS.py index e65bc89..4d4843c 100755 --- a/Wrappers/Python/ccpi/optimisation/algorithms/CGLS.py +++ b/Wrappers/Python/ccpi/optimisation/algorithms/CGLS.py @@ -23,6 +23,7 @@ Created on Thu Feb 21 11:11:23 2019  """  from ccpi.optimisation.algorithms import Algorithm +  class CGLS(Algorithm):      '''Conjugate Gradient Least Squares algorithm @@ -83,4 +84,4 @@ class CGLS(Algorithm):          self.d = s + beta*self.d      def update_objective(self): -        self.loss.append(self.r.squared_norm()) +        self.loss.append(self.r.squared_norm())
\ No newline at end of file  | 
