Commit 89bf301
committed
Fix Fypp chemistry boolean interpretation
The issue was that CMake was passing -D chemistry=False (string) to Fypp,
but Fypp interprets the string "False" as truthy (non-empty string).
This caused Fypp to generate code that tried to use m_thermochem even when
MFC_CHEMISTRY=OFF, leading to compilation errors.
Solution: Pass 0/1 instead of False/True to Fypp, which correctly interprets
as boolean false/true.
Also explicitly import join_path in package.py for clarity.1 parent 4363722 commit 89bf301
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
0 commit comments