From ff10487bcb5bc2d7955ad38667c2f93b13786f56 Mon Sep 17 00:00:00 2001 From: Siu Kwan Lam <1929845+sklam@users.noreply.github.com> Date: Mon, 31 Oct 2022 19:26:42 -0500 Subject: [PATCH] Merge pull request #8537 from gmarkall/issue-8529 Make ol_compatible_view accessible on all targets --- numba/np/arrayobj.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/numba/np/arrayobj.py b/numba/np/arrayobj.py index 8b57c38f1f5..278d9a7f78d 100644 --- a/numba/np/arrayobj.py +++ b/numba/np/arrayobj.py @@ -2420,7 +2420,7 @@ def _compatible_view(a, dtype): pass -@overload(_compatible_view) +@overload(_compatible_view, target='generic') def ol_compatible_view(a, dtype): """Determines if the array and dtype are compatible for forming a view.""" # NOTE: NumPy 1.23+ uses this check.