diff options
author | Andrew Nelson <andyfaff@gmail.com> | 2023-04-09 13:38:31 +1000 |
---|---|---|
committer | Andrew Nelson <andyfaff@gmail.com> | 2023-04-09 13:38:31 +1000 |
commit | afcedf4b63f4a94187e6995c2adea0da3bb18e83 (patch) | |
tree | fe281a78907396143434f249ef52f259743a6533 /numpy | |
parent | f8f993eb73805645834892757a3f6d3aced33fc3 (diff) | |
download | numpy-afcedf4b63f4a94187e6995c2adea0da3bb18e83.tar.gz |
MAINT: add arm64 to f2py's selected_real_kind
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 36a913047..d2dbb56af 100755 --- a/numpy/f2py/crackfortran.py +++ b/numpy/f2py/crackfortran.py @@ -2393,7 +2393,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', 'ppc', 'riscv', 's390x', 'sparc')): + if machine.startswith(('aarch64', 'power', 'ppc', 'riscv', 's390x', 'sparc', 'arm64')): if p <= 20: return 16 else: |