Skip to content

Commit 0d95e59

Browse files
author
botbikamordehai2-sketch
committed
fix: handle 1D input in test_stump (closes #1160)
1 parent bc1eae8 commit 0d95e59

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/test_non_normalized_decorator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ def test_stump(T, m):
109109
if T.ndim > 1:
110110
T = T.copy()
111111
T = T[0]
112+
# else T is already 1D, no need to index
112113

113114
ref = aamp(T, m)
114115
comp = stump(T, m, normalize=False)

0 commit comments

Comments
 (0)