diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2019-01-05 15:19:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-05 15:19:56 -0700 |
commit | 608fc9808f05abb41a44f92c63242a505accc844 (patch) | |
tree | 55bfa41440dc8580860730647927c938270a818f /numpy | |
parent | 8ead96cfeadd85be084caa4b2d1c79d80a51a358 (diff) | |
parent | 4ff8fd5462fa1aaafc9b3519dfca0892f01e977e (diff) | |
download | numpy-608fc9808f05abb41a44f92c63242a505accc844.tar.gz |
Merge pull request #12672 from charris/fix-selected_real_kind-for-sparc
BUG: Add 'sparc' to platforms implementing 16 byte reals.
Diffstat (limited to 'numpy')
-rwxr-xr-x | numpy/f2py/crackfortran.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/f2py/crackfortran.py b/numpy/f2py/crackfortran.py index 2620fc9b7..c4a650585 100755 --- a/numpy/f2py/crackfortran.py +++ b/numpy/f2py/crackfortran.py @@ -2399,7 +2399,7 @@ def _selected_real_kind_func(p, r=0, radix=0): if p < 16: return 8 machine = platform.machine().lower() - if machine.startswith(('aarch64', 'power', 'ppc64', 's390x')): + if machine.startswith(('aarch64', 'power', 'ppc64', 's390x', 'sparc')): if p <= 20: return 16 else: |