diff --git a/etc/codeTemplates/dynamicCode/basicChemistryModelTemplate.C b/etc/codeTemplates/dynamicCode/basicChemistryModelTemplate.C index 18201e87dc..bf1c0d7d6d 100644 --- a/etc/codeTemplates/dynamicCode/basicChemistryModelTemplate.C +++ b/etc/codeTemplates/dynamicCode/basicChemistryModelTemplate.C @@ -89,7 +89,7 @@ namespace Foam #define standardChemistryModelCppTest 0 #define TDACChemistryModelCppTest 1 -#if ${method}CppTest == TDACChemistryModelCppTest +#if ${method}ChemistryModelCppTest == TDACChemistryModelCppTest #include "makeChemistryReductionMethod.H" #include "makeChemistryTabulationMethod.H"