Porting: compare fofType with enumeration

This commit is contained in:
Hrvoje Jasak 2019-04-30 16:52:28 +01:00
parent 267fa0eba8
commit 7794edfc89

View file

@ -392,7 +392,7 @@ void Foam::chemkinReader::addPressureDependentReaction
default:
{
if (fofType < 4)
if (fofType < unknownFallOffFunctionType)
{
FatalErrorIn("chemkinReader::addPressureDependentReaction")
<< "Fall-off function type "