Skip to content

Commit

Permalink
Merge pull request #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 committed Nov 1, 2022
2 parents b97f374 + f3f1868 commit a56a652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numba/np/arrayobj.py
Expand Up @@ -2499,7 +2499,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 a56a652

Please sign in to comment.