From bc794891b181ae5ef46bf94e65ec9d3d9b38f762 Mon Sep 17 00:00:00 2001 From: Matthias Diener <matthias.diener@gmail.com> Date: Thu, 3 Oct 2024 09:54:39 -0500 Subject: [PATCH] clarify comment --- pyopencl/array.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyopencl/array.py b/pyopencl/array.py index 16e24945..6674d8d9 100644 --- a/pyopencl/array.py +++ b/pyopencl/array.py @@ -76,8 +76,8 @@ def _get_common_dtype(obj1, obj2, queue): "add one in order to be able to perform operations") # Note: We are calling np.result_type with pyopencl arrays here. - # Luckily, np.result_type only looks at the dtype of input arrays as of - # numpy v2.1. + # Luckily, np.result_type only looks at the dtype of input arrays up until + # at least numpy v2.1. result = np.result_type(obj1, obj2) if not has_double_support(queue.device): -- GitLab