8000 rebuilt and fixed unit tests · scikit-learn/scikit-learn@dd32ecb · GitHub
[go: up one dir, main page]

Skip to content

Commit dd32ecb

Browse files
committed
rebuilt and fixed unit tests
1 parent ad8ce25 commit dd32ecb

File tree

1 file changed

+1
-1
lines changed
  • sklearn/linear_model/_glm

1 file changed

+1
-1
lines changed

sklearn/linear_model/_glm/glm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def fit(self, X, y, sample_weight=None):
265265
y_numeric=True,
266266
multi_output=False,
267267
)
268-
if isinstance(self.alpha, Iterable):
268+
if isinstance(self.alpha, Iterable) and not isinstance(self.alpha, str):
269269
for i, val in enumerate(self.alpha):
270270
check_scalar(
271271
val,

0 commit comments

Comments
 (0)
0