Skip to content

Commit f51d3ad

Browse files
authored
Merge pull request #24912 from charris/backport-24904
BUG: loongarch doesn't use REAL(10)
2 parents 94e315d + 54e6e65 commit f51d3ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/f2py/crackfortran.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2452,7 +2452,7 @@ def _selected_real_kind_func(p, r=0, radix=0):
24522452
if p < 16:
24532453
return 8
24542454
machine = platform.machine().lower()
2455-
if machine.startswith(('aarch64', 'arm64', 'power', 'ppc', 'riscv', 's390x', 'sparc')):
2455+
if machine.startswith(('aarch64', 'arm64', 'loongarch', 'power', 'ppc', 'riscv', 's390x', 'sparc')):
24562456
if p <= 33:
24572457
return 16
24582458
else:

0 commit comments

Comments
 (0)