Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add link to NumPy _UpdateContiguousFlags function (PR #6830 feedback)
  • Loading branch information
gmarkall committed Mar 17, 2021
commit be66d38725460852b6811be1a96165e7926e4f93
1 change: 1 addition & 0 deletions numba/misc/dummyarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ def _relaxed_compute_layout(self):
# The logic here is based on that in _UpdateContiguousFlags from
# numpy/core/src/multiarray/flagsobject.c in NumPy v1.19.1 (commit
# 13661ac70).
Comment thread
stuartarchibald marked this conversation as resolved.
Resolved
# https://github.com/numpy/numpy/blob/maintenance/1.19.x/numpy/core/src/multiarray/flagsobject.c#L123-L191

# Records have no dims, and we can treat them as contiguous
if not self.dims:
Expand Down