diff options
| author | Sebastian Berg <sebastian@sipsolutions.net> | 2022-02-11 14:35:19 -0600 |
|---|---|---|
| committer | Sebastian Berg <sebastian@sipsolutions.net> | 2022-02-11 14:53:01 -0600 |
| commit | 0457cc7da06d98cc818a0ae1d3cc98ea93a1893d (patch) | |
| tree | 49ce408981c79c7546dca44f783c527267b32891 /numpy/core/include | |
| parent | f69ddd7111048111a7e486a2d7d008bd231af33d (diff) | |
| download | numpy-0457cc7da06d98cc818a0ae1d3cc98ea93a1893d.tar.gz | |
MAINT: Remove the RELAXED_STRIDES_CHECKING env variable
An error is for now raised in `setup.py` if this is set, eventually
we should just delete that.
Diffstat (limited to 'numpy/core/include')
| -rw-r--r-- | numpy/core/include/numpy/ndarraytypes.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/numpy/core/include/numpy/ndarraytypes.h b/numpy/core/include/numpy/ndarraytypes.h index 35d82ec03..e8479e316 100644 --- a/numpy/core/include/numpy/ndarraytypes.h +++ b/numpy/core/include/numpy/ndarraytypes.h @@ -834,11 +834,9 @@ typedef int (PyArray_FinalizeFunc)(PyArrayObject *, PyObject *); * 1-d array is C_CONTIGUOUS it is also F_CONTIGUOUS. Arrays with * more then one dimension can be C_CONTIGUOUS and F_CONTIGUOUS * at the same time if they have either zero or one element. - * If NPY_RELAXED_STRIDES_CHECKING is set, a higher dimensional - * array is always C_CONTIGUOUS and F_CONTIGUOUS if it has zero elements - * and the array is contiguous if ndarray.squeeze() is contiguous. - * I.e. dimensions for which `ndarray.shape[dimension] == 1` are - * ignored. + * A higher dimensional array is always C_CONTIGUOUS and F_CONTIGUOUS if it + * has zero elements or when `array.squeeze()` is contiguous. + * I.e. dimensions for which `array.shape[dimension] == 1` are ignored. */ /* |
