From e878383a909103922f09948ca0699c47b659b74b Mon Sep 17 00:00:00 2001 From: James Nightingale Date: Mon, 16 Oct 2023 16:37:21 +0100 Subject: [PATCH] fix numpy alias bool --- autoarray/util/fnnls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoarray/util/fnnls.py b/autoarray/util/fnnls.py index 9a8c3c477..01ffbd41a 100644 --- a/autoarray/util/fnnls.py +++ b/autoarray/util/fnnls.py @@ -43,7 +43,7 @@ def fnnls_cholesky( no_update = 0 loop_count = 0 - P = np.zeros(n, dtype=np.bool) + P = np.zeros(n, dtype=bool) P[P_initial] = True d = np.zeros(n) w = ZTx - (ZTZ) @ d