diff options
author | Edoardo Pasca <edo.paskino@gmail.com> | 2019-02-18 16:26:12 +0000 |
---|---|---|
committer | Edoardo Pasca <edo.paskino@gmail.com> | 2019-02-18 16:26:12 +0000 |
commit | fd0487910f8a17107bdf5a6b2cb68e5edfb7f295 (patch) | |
tree | b226cb055dc43c9cba9ed400fc10959bfa0d5ef6 | |
parent | 8a92d3602a07c6f73689fd550b8e4080857cb7f1 (diff) | |
download | framework-fd0487910f8a17107bdf5a6b2cb68e5edfb7f295.tar.gz framework-fd0487910f8a17107bdf5a6b2cb68e5edfb7f295.tar.bz2 framework-fd0487910f8a17107bdf5a6b2cb68e5edfb7f295.tar.xz framework-fd0487910f8a17107bdf5a6b2cb68e5edfb7f295.zip |
fixed typo
-rw-r--r-- | Wrappers/Python/ccpi/optimisation/Algorithms.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Wrappers/Python/ccpi/optimisation/Algorithms.py b/Wrappers/Python/ccpi/optimisation/Algorithms.py index bf7f1c3..448a7b1 100644 --- a/Wrappers/Python/ccpi/optimisation/Algorithms.py +++ b/Wrappers/Python/ccpi/optimisation/Algorithms.py @@ -242,7 +242,7 @@ class FISTA(Algorithm): def update_objective(self): self.loss.append( self.f(self.x) + self.g(self.x) ) -class FBPD(Algorithm) +class FBPD(Algorithm): '''FBPD Algorithm Parameters: @@ -293,7 +293,7 @@ class FBPD(Algorithm) # primal forward-backward step x_old = self.x self.x = self.x - self.tau * ( self.data_fidelity.grad(self.x) + self.operator.adjoint(self.y) ) - self.x = constraint.prox(self.x, self.tau); + self.x = self.constraint.prox(self.x, self.tau); # dual forward-backward step self.y = self.y + self.sigma * self.operator.direct(2*self.x - x_old); |