diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2019-01-05 13:23:28 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2019-01-05 13:23:28 -0700 |
commit | 4ff8fd5462fa1aaafc9b3519dfca0892f01e977e (patch) | |
tree | 9e593884798d6955e008040ce07fb8df6d347b85 /numpy | |
parent | fd89a4137969b676d4449e2b61ecd7f4c5811d7a (diff) | |
download | numpy-4ff8fd5462fa1aaafc9b3519dfca0892f01e977e.tar.gz |
BUG: Add 'sparc' to platforms implementing 16 byte reals.
This is for the _selected_real_kind_func function in
f2py/crackfortran.py
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: |