8000 Fixed indentation bug regarding XP_width before return · SkuaD01/scikit-learn@f29ad56 · GitHub
[go: up one dir, main page]

Skip to content

Commit f29ad56

Browse files
committed
Fixed indentation bug regarding XP_width before return
1 parent ecce424 commit f29ad56

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sklearn/preprocessing/_data.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1865,9 +1865,9 @@ def transform(self, X):
18651865

18661866
new_index.append(current_col)
18671867
index = new_index
1868-
# omit unwanted dynamic programming columns that were used for optimized calculation
1869-
if self.min_degree >= 2:
1870-
XP = XP[:, XP_width-self.n_output_features_:]
1868+
# omit unwanted dynamic programming columns that were used for optimized calculation
1869+
if self.min_degree >= 2:
1870+
XP = XP[:, XP_width-self.n_output_features_:]
18711871
return XP
18721872

18731873

0 commit comments

Comments
 (0)
0