Skip to content

Commit ce75e55

Browse files
committed
removes docstring, attempt to solve scikit-learn-contrib#17
1 parent 410415b commit ce75e55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

metric_learn/lmnn.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,8 @@ def _find_impostors(self, furthest_neighbors):
207207
i,j = np.unravel_index(np.unique(tmp), shape)
208208
impostors.append(np.vstack((in_inds[j], out_inds[i])))
209209
if len(impostors) == 0:
210-
"""No impostors detected"""
211-
return []
210+
# No impostors detected
211+
return impostors
212212
return np.hstack(impostors)
213213

214214

0 commit comments

Comments
 (0)