Skip to content

Commit

Permalink
BUG duplicate finity check in input validation
Browse files Browse the repository at this point in the history
  • Loading branch information
larsmans committed Sep 4, 2013
1 parent fd1df8e commit 2fb55da
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sklearn/utils/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,6 @@ def _atleast2d_or_sparse(X, dtype, order, copy, sparse_class, convmethod,
else:
X = array2d(X, dtype=dtype, order=order, copy=copy,
force_all_finite=force_all_finite)
if force_all_finite:
_assert_all_finite(X)
return X


Expand Down

0 comments on commit 2fb55da

Please sign in to comment.