Skip to content

Commit

Permalink
Fix bad formatting due to use of incorrect black version
Browse files Browse the repository at this point in the history
  • Loading branch information
bwohlberg committed Mar 4, 2024
1 parent e59701d commit 81b8518
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scico/functional/_norm.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,9 @@ def __init__(self, delta: float = 1.0, separable: bool = True):

def _call_sep(self, x: Union[Array, BlockArray]) -> float:
xabs = snp.abs(x)
hx = snp.where(xabs <= self.delta, 0.5 * xabs**2, self.delta * (xabs - (self.delta / 2.0)))
hx = snp.where(
xabs <= self.delta, 0.5 * xabs**2, self.delta * (xabs - (self.delta / 2.0))
)
return snp.sum(hx)

def _call_nonsep(self, x: Union[Array, BlockArray]) -> float:
Expand Down

0 comments on commit 81b8518

Please sign in to comment.