diff --git a/applications/test/readCHEMKINIII/readCHEMKINIII.C b/applications/test/readCHEMKINIII/readCHEMKINIII.C index a028e9fd2b..50721d64ea 100644 --- a/applications/test/readCHEMKINIII/readCHEMKINIII.C +++ b/applications/test/readCHEMKINIII/readCHEMKINIII.C @@ -57,7 +57,7 @@ int main(int argc, char *argv[]) //Info<< ck.specieThermo() << endl; //Info<< ck.reactions() << endl; - PtrList reactions = ck.reactions(); + const SLPtrList& reactions = ck.reactions(); { OFstream reactionStream("reactions"); @@ -70,17 +70,17 @@ int main(int argc, char *argv[]) label nReactions(readLabel(reactionStream)); reactionStream.readBeginList(args.executable().c_str()); - PtrList testReactions(nReactions); + PtrList testReactions(nReactions); forAll (testReactions, i) { testReactions.set ( i, - chemkinReader::reaction::New + gasReaction::New ( ck.species(), - ck.specieThermo(), + ck.speciesThermo(), reactionStream ) );