Porting: compare fofType with enumeration
This commit is contained in:
parent
267fa0eba8
commit
7794edfc89
1 changed files with 1 additions and 1 deletions
|
@ -392,7 +392,7 @@ void Foam::chemkinReader::addPressureDependentReaction
|
|||
|
||||
default:
|
||||
{
|
||||
if (fofType < 4)
|
||||
if (fofType < unknownFallOffFunctionType)
|
||||
{
|
||||
FatalErrorIn("chemkinReader::addPressureDependentReaction")
|
||||
<< "Fall-off function type "
|
||||
|
|
Reference in a new issue