Skip to content

Commit

Permalink
Merge pull request #195 from mrava87/fix-circhuber
Browse files Browse the repository at this point in the history
doc: fix minor mistake in HuberCircular docstring
  • Loading branch information
mrava87 authored Dec 15, 2024
2 parents 3eb331a + bbed7c2 commit d607a0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyproximal/proximal/Huber.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Huber(ProxOperator):
|x_i| - \frac{\alpha}{2}, & |x_i| > \alpha
\end{cases}
which behaves like a :math:`\ell_2` norm for :math:`|x_i| \leq \alpha` and a
which behaves like a :math:`\ell_2^2` norm for :math:`|x_i| \leq \alpha` and a
:math:`\ell_1` norm for :math:`|x_i| > \alpha`.
Parameters
Expand Down Expand Up @@ -82,8 +82,8 @@ class HuberCircular(ProxOperator):
\|\mathbf{x}\|_2 - \frac{\alpha}{2}, & \|\mathbf{x}\|_2 > \alpha \\
\end{cases}
which behaves like a :math:`\ell_2` norm for :math:`\|\mathbf{x}\|_2 \leq \alpha` and a
:math:`\ell_1` norm for :math:`\|\mathbf{x}\|_2 > \alpha`.
which behaves like a :math:`\ell_2^2` norm for :math:`\|\mathbf{x}\|_2 \leq \alpha` and a
:math:`\ell_2` norm for :math:`\|\mathbf{x}\|_2 > \alpha`.
Parameters
----------
Expand Down

0 comments on commit d607a0a

Please sign in to comment.