Skip to content

Commit

Permalink
Add numpy version requiring the fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinewdg committed Oct 24, 2016
1 parent 6052f33 commit b4e0127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sklearn/utils/fixes.py
Expand Up @@ -425,7 +425,7 @@ def __getstate__(self):
def norm(X, ord=None, axis=None):
"""
Handles the axis parameter for the norm function
in old versions of numpy.
in old versions of numpy (useless for numpy >= 1.8).
"""

if axis is None or X.ndim == 1:
Expand Down

0 comments on commit b4e0127

Please sign in to comment.