From 8c684f88006ce02aaeb0ade5d77600e898709a43 Mon Sep 17 00:00:00 2001 From: ShreeshaM07 Date: Fri, 28 Jun 2024 03:07:05 +0530 Subject: [PATCH] [BUG] Histogram Distribution np.broadcast_arrays deprecation in v2.0.0 --- skpro/distributions/base/_base_array.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skpro/distributions/base/_base_array.py b/skpro/distributions/base/_base_array.py index 9d6e1fae2..b3998dcdd 100644 --- a/skpro/distributions/base/_base_array.py +++ b/skpro/distributions/base/_base_array.py @@ -229,7 +229,7 @@ def _get_bc_params_dict( index_column_broadcast.append(kwargs_as_np["index"]) index_column_broadcast.append(kwargs_as_np["columns"]) - bc = np.broadcast_arrays(*index_column_broadcast) + bc = list(np.broadcast_arrays(*index_column_broadcast)) if dtype is not None: bc = [array.astype(dtype) for array in bc]