13
0

remove compilation warning (-Wunused-but-set-variable)

This commit is contained in:
Paul Davis 2015-06-16 11:11:57 -04:00
parent 93a64cb4fc
commit 03dbf7857e

View File

@ -97,8 +97,6 @@ int PeakPicking::quadEval( vector<double> &src, vector<int> &idx )
vector <double> m_poly;
vector <double> m_err;
double p;
m_poly.push_back(0);
m_poly.push_back(0);
m_poly.push_back(0);
@ -128,8 +126,6 @@ int PeakPicking::quadEval( vector<double> &src, vector<int> &idx )
m_maxFit.push_back(selMax);
}
p = TPolyFit::PolyFit2( m_err, m_maxFit, m_poly);
double f = m_poly[0];
double h = m_poly[2];