Skip to content

Commit 16c9ce3

Browse files
committed
pyro updates
1 parent 555cf06 commit 16c9ce3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

toolchain/mfc/run/input.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,12 @@ def generate_fpp(self, target) -> None:
7373
# Determine the real type based on the single precision flag
7474
real_type = 'real(sp)' if ARG('single') else 'real(dp)'
7575

76-
directive_str = None
7776
if (ARG("gpu") == gpuConfigOptions.MP.value):
7877
directive_str = 'mp'
7978
elif (ARG("gpu") == gpuConfigOptions.ACC.value):
8079
directive_str = 'acc'
80+
else:
81+
directive_str = None
8182

8283
# Write the generated Fortran code to the m_thermochem.f90 file with the chosen precision
8384
common.file_write(

0 commit comments

Comments
 (0)