diff options
author | Licht Takeuchi <licht-t@outlook.jp> | 2018-06-04 14:09:03 +0900 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2018-06-03 22:09:03 -0700 |
commit | abeb96d183b4e7a058066f47be3a4a599d935c3c (patch) | |
tree | be9162beee216ca8facba105cd7d90aab7c38ac4 /numpy/f2py/tests/test_compile_function.py | |
parent | 2e60274cb8cbdad77abb81b48c2fb92e449db23e (diff) | |
download | numpy-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