8000 Trivial change in utils.check_arrays from > 2 to >=3 in attempt to re… · rmurcek/scikit-learn@c587d4f · GitHub
[go: up one dir, main page]

Skip to content

Commit c587d4f

Browse files
hamzehhamzeh
hamzeh
authored and
hamzeh
committed
Trivial change in utils.check_arrays from > 2 to >=3 in attempt to rebuild Travis CI
1 parent a48c51b commit c587d4f

File tree

Expand file tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/utils/validation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def check_arrays(*arrays, **options):
250250
array = np.asarray(array, dtype=dtype)
251251
_assert_all_finite(array)
252252

253-
if array.ndim > 2:
253+
if array.ndim >= 3:
254254
raise ValueError("Found array with dim %d. Expected <= 2" %
255255
array.ndim)
256256

0 commit comments

Comments
 (0)
0