Skip to content

Commit 7c9fbe1

Browse files
committed
Merge branch 'fista' of https://github.com/PABannier/skglm into fista
2 parents dd658f8 + 8524cf7 commit 7c9fbe1

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
@@ -38,7 +38,7 @@ def solve(self, X, y, datafit, penalty, w_init=None, Xw_init=None):
3838
p_objs_out = []
3939
n_samples, n_features = X.shape
4040
all_features = np.arange(n_features)
41-
t_new = 1
41+
t_new = 1.
4242

4343
w = w_init.copy() if w_init is not None else np.zeros(n_features)
4444
z = w_init.copy() if w_init is not None else np.zeros(n_features)

0 commit comments

Comments
 (0)