Skip to content

Commit

Permalink
Fixed another self error
Browse files Browse the repository at this point in the history
  • Loading branch information
tgsmith61591 committed Oct 17, 2016
1 parent 651b271 commit ffb7b4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skutil/h2o/one_way_fs.py
Expand Up @@ -644,7 +644,7 @@ def fit(self, X):
self
"""
if not (k == 'all' or (is_integer(self.k) and self.k > 0)):
if not (self.k == 'all' or (is_integer(self.k) and self.k > 0)):
raise ValueError('k must be a non-negative integer or "all"')
return self._fit(X)

Expand Down

0 comments on commit ffb7b4a

Please sign in to comment.