From 353fb38b110f8c31d3ed5c2c1a9cda2beb1609dc Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Mon, 5 Nov 2012 19:26:07 +0000 Subject: [PATCH] Fixed correspondence of reactor type string names to integer constants Cherry-picked from trunk (r1869). --- src/zeroD/ReactorFactory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zeroD/ReactorFactory.cpp b/src/zeroD/ReactorFactory.cpp index 0edbb0a51..53eac7977 100644 --- a/src/zeroD/ReactorFactory.cpp +++ b/src/zeroD/ReactorFactory.cpp @@ -23,8 +23,8 @@ static string _types[] = {"Reservoir", "Reactor", "ConstPressureReactor", }; // these constants are defined in ReactorBase.h -static int _itypes[] = {ReservoirType, ReactorType, FlowReactorType, - ConstPressureReactorType +static int _itypes[] = {ReservoirType, ReactorType, ConstPressureReactorType, + FlowReactorType }; /**