From 7794edfc89578e4efa8a047722adee42c18f12e1 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Tue, 30 Apr 2019 16:52:28 +0100 Subject: [PATCH] Porting: compare fofType with enumeration --- .../chemistryReaders/chemkinReader/chemkinReader.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thermophysicalModels/reactionThermo/chemistryReaders/chemkinReader/chemkinReader.C b/src/thermophysicalModels/reactionThermo/chemistryReaders/chemkinReader/chemkinReader.C index b69fe5aaa..bdaa6471d 100644 --- a/src/thermophysicalModels/reactionThermo/chemistryReaders/chemkinReader/chemkinReader.C +++ b/src/thermophysicalModels/reactionThermo/chemistryReaders/chemkinReader/chemkinReader.C @@ -392,7 +392,7 @@ void Foam::chemkinReader::addPressureDependentReaction default: { - if (fofType < 4) + if (fofType < unknownFallOffFunctionType) { FatalErrorIn("chemkinReader::addPressureDependentReaction") << "Fall-off function type "