FIX removed redundant max_iter assignment in LassoLarsIC
@@ -1861,13 +1861,12 @@ class LassoLarsIC(LassoLars):
X, y, Xmean, ymean, Xstd = LinearModel._preprocess_data(
X, y, self.fit_intercept, self.normalize, copy_X)
- max_iter = self.max_iter
Gram = self.precompute
alphas_, _, coef_path_, self.n_iter_ = lars_path(
X, y, Gram=Gram, copy_X=copy_X, copy_Gram=True, alpha_min=0.0,
- method='lasso', verbose=self.verbose, max_iter=max_iter,
+ method='lasso', verbose=self.verbose, max_iter=self.max_iter,
eps=self.eps, return_n_iter=True, positive=self.positive)
n_samples = X.shape[0]
