Skip to content

Commit

Permalink
Correct prox for LInfty functional (#1615)
Browse files Browse the repository at this point in the history
I believe the radius was wrong in the prox of the LInfty functional. I have checked that with pen and paper. Is there a way to verify this otherwise? Perhaps another human could have a look?
  • Loading branch information
mehrhardt authored Oct 27, 2021
1 parent 6e305d1 commit 0b088df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion odl/solvers/nonsmooth/proximal_operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -1494,7 +1494,7 @@ def __init__(self, sigma):
def _call(self, x, out):
"""Return ``self(x)``."""

radius = 1
radius = self.sigma

if x is out:
x = x.copy()
Expand Down

0 comments on commit 0b088df

Please sign in to comment.