summaryrefslogtreecommitdiff
path: root/numpy/f2py/tests/test_compile_function.py
diff options
context:
space:
mode:
authorLicht Takeuchi <licht-t@outlook.jp>2018-06-04 14:09:03 +0900
committerEric Wieser <wieser.eric@gmail.com>2018-06-03 22:09:03 -0700
commitabeb96d183b4e7a058066f47be3a4a599d935c3c (patch)
treebe9162beee216ca8facba105cd7d90aab7c38ac4 /numpy/f2py/tests/test_compile_function.py
parent2e60274cb8cbdad77abb81b48c2fb92e449db23e (diff)
downloadnumpy-abeb96d183b4e7a058066f47be3a4a599d935c3c.tar.gz
BUG: Prevent underflow causing empty result in arange (#10263)
When given a step size larger than the difference between `start` and `stop`, arange would sometimes give `[]` and sometimes `[start]`, depending on the relative magnitudes. Now the result is always `[start]`, even if the step is infinite, or underflow occurs. Fixes #10206
Diffstat (limited to 'numpy/f2py/tests/test_compile_function.py')
0 files changed, 0 insertions, 0 deletions