diff options
author | epapoutsellis <epapoutsellis@gmail.com> | 2019-05-01 16:35:47 +0100 |
---|---|---|
committer | epapoutsellis <epapoutsellis@gmail.com> | 2019-05-01 16:35:47 +0100 |
commit | 525e6bbcd28cb8c04a41463bf7e9806dbd9b747e (patch) | |
tree | 32ce76bd6b3f49c9e6985928832f11e0ce95c968 /Wrappers/Python | |
parent | cd5bed436dea298e77202e7e198b131e59c00af3 (diff) | |
download | framework-525e6bbcd28cb8c04a41463bf7e9806dbd9b747e.tar.gz framework-525e6bbcd28cb8c04a41463bf7e9806dbd9b747e.tar.bz2 framework-525e6bbcd28cb8c04a41463bf7e9806dbd9b747e.tar.xz framework-525e6bbcd28cb8c04a41463bf7e9806dbd9b747e.zip |
fix CGLS
Diffstat (limited to 'Wrappers/Python')
-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 |