Commit d88d91ab authored by alexander.dornheim's avatar alexander.dornheim
Browse files

Fixed some more errors in HAAR

parent ed1c005c
......@@ -29,7 +29,7 @@
#
# Nonstandard Matlab function calls: method_input.Prox1 and .Prox2, RAAR, Q_Heau
from numpy import zeros, shape
from numpy import zeros, shape, sqrt
from scipy.linalg import norm
from .algorithms import Algorithm
from proxtoolbox import Algorithms
......@@ -135,7 +135,7 @@ class HAAR(Algorithm):
print('not ready for 4D arrays')
return
shadow = prox2.work(y0)
shadow = prox2.work(y)
iter = 0
while iter < maxiter and change[iter] >= tol:
......@@ -246,7 +246,7 @@ class HAAR(Algorithm):
u = tmp2
tmp1 = self.prox1.work(u)
uu =tmp1
tmp2 = self.prox2.work(u2)
tmp2 = self.prox2.work(u)
if self.Nx == 1:
u1 = tmp[:,0];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment