Skip to content

Commit

Permalink
Merge pull request numba#8537 from gmarkall/issue-8529
Browse files Browse the repository at this point in the history
Make ol_compatible_view accessible on all targets
  • Loading branch information
sklam authored and esc committed Nov 1, 2022
1 parent 6982acd commit ff10487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numba/np/arrayobj.py
Expand Up @@ -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.
Expand Down

0 comments on commit ff10487

Please sign in to comment.