From e02bcb95d3d7ffe718e5f16164a701b72ab71722 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Mon, 19 Apr 2021 16:24:14 -0500 Subject: [PATCH] Remove a reference to np.bool (deprecated) --- pyopencl/scan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyopencl/scan.py b/pyopencl/scan.py index 0106207c..fd211c54 100644 --- a/pyopencl/scan.py +++ b/pyopencl/scan.py @@ -1518,7 +1518,7 @@ class GenericScanKernel(_GenericScanKernelBase): if self.store_segment_start_flags: segment_start_flags = cl.array.empty( - queue, n, dtype=np.bool, + queue, n, dtype=np.bool8, allocator=allocator) # }}} -- GitLab