summaryrefslogtreecommitdiff
path: root/numpy/core/setup.py
diff options
context:
space:
mode:
authortirthasheshpatel <tirthasheshpatel@gmail.com>2019-12-03 17:49:40 +0530
committerSebastian Berg <sebastian@sipsolutions.net>2020-01-17 08:00:51 -0600
commit7ef6b65fa960fcedcef8a27b1c3ef8c67ebb2078 (patch)
tree6954965f8d0c8f93d69e86e83d647f81510f5eb5 /numpy/core/setup.py
parent190ac3e99015ddded029d8811829da1b48b69b97 (diff)
downloadnumpy-7ef6b65fa960fcedcef8a27b1c3ef8c67ebb2078.tar.gz
BUG: `np.resize` negative shape and subclasses edge case fixes
When a negative entry is passed into `np.resize` shape, an error will now be raised reliably. Previously the `-1` semantics of reshape allowed edge cases to pass and return incorrect results. In the corner case of an empty result shape or empty input shape, the result type will now be preserved.
Diffstat (limited to 'numpy/core/setup.py')
0 files changed, 0 insertions, 0 deletions