From 91aa7c380c3b8a04dc01cfb425657a365d2170f9 Mon Sep 17 00:00:00 2001 From: Bogdan Opanchuk Date: Mon, 9 Jan 2023 23:19:48 -0800 Subject: [PATCH] Update the changelog --- doc/source/history.rst | 2 +- reikna/cluda/dtypes.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/source/history.rst b/doc/source/history.rst index 37f1547..25336b0 100644 --- a/doc/source/history.rst +++ b/doc/source/history.rst @@ -6,7 +6,7 @@ Release history 0.8.0 (current development version) =================================== -Under construction. +* FIXED: register ``numpy.bool`` in addition to ``bool`` - it is a separate type now (@perdigao1). 0.7.6 (20 Nov 2021) diff --git a/reikna/cluda/dtypes.py b/reikna/cluda/dtypes.py index d6f46e9..6456e00 100644 --- a/reikna/cluda/dtypes.py +++ b/reikna/cluda/dtypes.py @@ -184,7 +184,6 @@ def _fill_dtype_registry(respect_windows=True): import sys import platform - #_register_dtype(numpy.bool, "bool") # numpy.bool is/was and alias for python bool, # but in later numpy versions this is not recognised anymore and will throw an error _register_dtype(bool, "bool") # standard python bool is a valid numpy dtype