Skip to content

Commit a24ed9c

Browse files
committed
green
1 parent 8e74e8a commit a24ed9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

skglm/solvers/fista.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def solve(self, X, y, datafit, penalty, w_init=None, Xw_init=None):
6767
w_old = w.copy()
6868
if issparse(X):
6969
grad = construct_grad_sparse(
70-
X.data, X.indptr, X.indices, y, z, X @ z, datafit, all_features)
70+
X.data, X.indptr, X.indices, y, z, X @ z, datafit, all_features)
7171
else:
7272
grad = construct_grad(X, y, z, X @ z, datafit, all_features)
7373
z -= grad / lipschitz

0 commit comments

Comments
 (0)