From bbed7c28a9d0cd91a0313d5157f308de2cebf452 Mon Sep 17 00:00:00 2001 From: mrava87 Date: Sun, 15 Dec 2024 10:11:29 +0000 Subject: [PATCH] doc: fix minor mistake in HuberCircular docstring --- pyproximal/proximal/Huber.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproximal/proximal/Huber.py b/pyproximal/proximal/Huber.py index cc32aad..b519e6d 100644 --- a/pyproximal/proximal/Huber.py +++ b/pyproximal/proximal/Huber.py @@ -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 @@ -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 ----------