[Reactor] Eliminate unused variable ReactorNet::m_iown

This commit is contained in:
Ray Speth 2015-10-05 18:48:14 -04:00
parent a956f3904a
commit 3d27dfa1a1
2 changed files with 0 additions and 9 deletions

View file

@ -269,8 +269,6 @@ protected:
std::vector<size_t> m_sensIndex;
vector_fp m_ydot;
std::vector<bool> m_iown;
};
}

View file

@ -28,12 +28,6 @@ ReactorNet::ReactorNet() :
ReactorNet::~ReactorNet()
{
for (size_t n = 0; n < m_reactors.size(); n++) {
if (m_iown[n]) {
delete m_reactors[n];
}
m_reactors[n] = 0;
}
delete m_integ;
}
@ -142,7 +136,6 @@ void ReactorNet::addReactor(Reactor& r)
{
r.setNetwork(this);
m_reactors.push_back(&r);
m_iown.push_back(false);
}
void ReactorNet::eval(doublereal t, doublereal* y,