From 0d95e59e5baffd003dfbfd1c2e41d8cd81cfb663 Mon Sep 17 00:00:00 2001 From: botbikamordehai2-sketch Date: Sun, 2 Aug 2026 10:45:40 +0000 Subject: [PATCH] fix: handle 1D input in test_stump (closes #1160) --- tests/test_non_normalized_decorator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_non_normalized_decorator.py b/tests/test_non_normalized_decorator.py index b96580c99..ca029d015 100644 --- a/tests/test_non_normalized_decorator.py +++ b/tests/test_non_normalized_decorator.py @@ -109,6 +109,7 @@ def test_stump(T, m): if T.ndim > 1: T = T.copy() T = T[0] + # else T is already 1D, no need to index ref = aamp(T, m) comp = stump(T, m, normalize=False)