8000 Remove flake8 error · scikit-learn/scikit-learn@8cd7c87 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8cd7c87

Browse files
committed
Remove flake8 error
1 parent 7e044d4 commit 8cd7c87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sklearn/cluster/dbscan_.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ def dbscan(X, eps=0.5, min_samples=5, metric='minkowski', metric_params=None,
121121
# neighborhood of point i. While True, its useless information)
122122
if metric == 'precomputed' and sparse.issparse(X):
123123
neighborhoods = np.empty(X.shape[0], dtype=object)
124-
125-
#Modify X so that every element first row are not zero
124+
125+
# Modify X so that every element first row are not zero
126126
if X.indptr[0] == X.indptr[1] == 0:
127127
indptr = X.indptr
128128
indptr = indptr+1

0 commit comments

Comments
 (0)
0