Commit 473ee676 authored by Matthieu Tristram's avatar Matthieu Tristram
Browse files

Clean WARNING for unreferenced

parent 1e7c8b77
...@@ -259,7 +259,6 @@ void ACTEquat::HandleNuisance( std::vector<double>& nuisance){ ...@@ -259,7 +259,6 @@ void ACTEquat::HandleNuisance( std::vector<double>& nuisance){
_AtSZxCIB = nuisance[3]; _AtSZxCIB = nuisance[3];
int indx = 0; int indx = 0;
int jndx = 0;
for (int i=0; i<_nfreqs ; i++) for (int i=0; i<_nfreqs ; i++)
for (int j=i; j<_nfreqs ; j++) for (int j=i; j<_nfreqs ; j++)
{ {
......
...@@ -259,7 +259,6 @@ void ACTSouth::HandleNuisance( std::vector<double>& nuisance){ ...@@ -259,7 +259,6 @@ void ACTSouth::HandleNuisance( std::vector<double>& nuisance){
_AtSZxCIB = nuisance[3]; _AtSZxCIB = nuisance[3];
int indx = 0; int indx = 0;
int jndx = 0;
for (int i=0; i<_nfreqs ; i++) for (int i=0; i<_nfreqs ; i++)
for (int j=i; j<_nfreqs ; j++) for (int j=i; j<_nfreqs ; j++)
{ {
......
...@@ -79,7 +79,6 @@ void HighEll:: read_par_file(const string filename ) ...@@ -79,7 +79,6 @@ void HighEll:: read_par_file(const string filename )
else else
_CIB_path = Parser::CheckPath(parameters.find<string>("CIB_path")); _CIB_path = Parser::CheckPath(parameters.find<string>("CIB_path"));
int posp =0;
_data_path = Parser::CheckPath(parameters.find<string>("DataPath")); _data_path = Parser::CheckPath(parameters.find<string>("DataPath"));
_covName = Parser::CheckPath(_data_path+'/'+parameters.find<string>("covName")) ; _covName = Parser::CheckPath(_data_path+'/'+parameters.find<string>("covName")) ;
...@@ -101,7 +100,6 @@ void HighEll:: read_par_file(const string filename ) ...@@ -101,7 +100,6 @@ void HighEll:: read_par_file(const string filename )
void HighEll::read_window_functions(){ void HighEll::read_window_functions(){
cout << " reading window functions for "<<_nfreqs<< " frequencies"<< endl; cout << " reading window functions for "<<_nfreqs<< " frequencies"<< endl;
cout <<" select_freq size "<<_select_freq.size()<<endl; cout <<" select_freq size "<<_select_freq.size()<<endl;
int ibwfun = 0 ;
for (int ia=0; ia < _nfreqs ; ia++){ for (int ia=0; ia < _nfreqs ; ia++){
if (_select_freq.size()>0 ) if (_select_freq.size()>0 )
if ( _select_freq[ia] !=0) continue; if ( _select_freq[ia] !=0) continue;
...@@ -263,7 +261,6 @@ void HighEll::computeResiduals(const vector<unsigned int>& l,vector<double>& clt ...@@ -263,7 +261,6 @@ void HighEll::computeResiduals(const vector<unsigned int>& l,vector<double>& clt
ofstream * fileout ; ofstream * fileout ;
double mychi2 = 0.;
cout << " high ell likelihood compute residuals for"<< _name<<endl; cout << " high ell likelihood compute residuals for"<< _name<<endl;
HandleNuisance( nuisance ); // fills calibs + fg params etc... HandleNuisance( nuisance ); // fills calibs + fg params etc...
......
...@@ -369,8 +369,7 @@ void SPTHigh::buildDustTemplates(int lmin, int lmax){ ...@@ -369,8 +369,7 @@ void SPTHigh::buildDustTemplates(int lmin, int lmax){
} }
vector < vector <double> > SPTHigh::getDust( ){// std::vector<double>& nuisance ) { vector < vector <double> > SPTHigh::getDust( ){
double fref = 150.;
vector < vector <double> > temp ( _templ_dust ); // constructeur par copie ? vector < vector <double> > temp ( _templ_dust ); // constructeur par copie ?
if (_verbose >2)cout << " getdust "<< temp.size() << endl; if (_verbose >2)cout << " getdust "<< temp.size() << endl;
int ityp=0; int ityp=0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment