Skip to content

Commit

Permalink
line
Browse files Browse the repository at this point in the history
  • Loading branch information
mathurinm committed Feb 2, 2024
1 parent 46deddc commit 3376029
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions skglm/penalties/separable.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,7 @@ def prox_vec(self, x, stepsize):
for j in range(x.shape[0]):
res[j] = self.prox_1d(x[j], stepsize, j)
return res

def subdiff_distance(self, w, grad, ws):
"""Compute distance of negative gradient to the subdifferential at w."""
subdiff_dist = np.zeros_like(grad)
Expand Down

0 comments on commit 3376029

Please sign in to comment.