Skip to content

Commit

Permalink
Merge pull request #24912 from charris/backport-24904
Browse files Browse the repository at this point in the history
BUG: loongarch doesn't use REAL(10)
  • Loading branch information
charris authored Oct 12, 2023
2 parents 94e315d + 54e6e65 commit f51d3ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpy/f2py/crackfortran.py
Original file line number Diff line number Diff line change
Expand Up @@ -2452,7 +2452,7 @@ def _selected_real_kind_func(p, r=0, radix=0):
if p < 16:
return 8
machine = platform.machine().lower()
if machine.startswith(('aarch64', 'arm64', 'power', 'ppc', 'riscv', 's390x', 'sparc')):
if machine.startswith(('aarch64', 'arm64', 'loongarch', 'power', 'ppc', 'riscv', 's390x', 'sparc')):
if p <= 33:
return 16
else:
Expand Down

0 comments on commit f51d3ad

Please sign in to comment.