[Reactor] Fixed uninitialized variable 'm_dist' in FlowReactor

This commit is contained in:
Ray Speth 2012-12-17 23:59:43 +00:00
parent ee2697b4b8
commit da92fed07c

View file

@ -13,8 +13,13 @@ using namespace std;
namespace Cantera
{
FlowReactor::FlowReactor() : Reactor(), m_fctr(1.0e10),
m_speed0(0.0) {}
FlowReactor::FlowReactor() :
Reactor(),
m_fctr(1.0e10),
m_speed0(0.0),
m_dist(0.0)
{
}
// overloaded method of FuncEval. Called by the integrator to
// get the initial conditions.