From 9c7058bbad5ea4ad71e684cfa45ef37d24e07edc Mon Sep 17 00:00:00 2001 From: dachengx Date: Fri, 17 Jan 2025 00:10:22 -0600 Subject: [PATCH] Still use `np.bool_` in numba decorated function --- straxen/plugins/raw_records_coin_nv/nveto_recorder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/straxen/plugins/raw_records_coin_nv/nveto_recorder.py b/straxen/plugins/raw_records_coin_nv/nveto_recorder.py index a96a5d084..3e7eee4df 100644 --- a/straxen/plugins/raw_records_coin_nv/nveto_recorder.py +++ b/straxen/plugins/raw_records_coin_nv/nveto_recorder.py @@ -325,7 +325,7 @@ def pulse_in_interval(raw_records, record_links, start_times, end_times): """ nrr = len(raw_records) - result = np.zeros(nrr, bool) + result = np.zeros(nrr, np.bool_) last_interval_seen = 0 for ind, rr in enumerate(raw_records):