Commit a9e1f49dbfce1d71327180ab86f284e20316790d

Authored by Alexander Ziegler
1 parent d8e7ceab

Minor white space corrections for covmat function

Showing 1 changed file with 2 additions and 2 deletions
src/obs/GObservations.cpp
@@ -856,7 +856,7 @@ void GObservations::save_covmat(const GFilename& filename) @@ -856,7 +856,7 @@ void GObservations::save_covmat(const GFilename& filename)
856 std::vector<std::string> covmat_entries; 856 std::vector<std::string> covmat_entries;
857 857
858 for (int i = 0 ; i < m_models.size(); ++i){ 858 for (int i = 0 ; i < m_models.size(); ++i){
859 - for (int j = 0; j < m_models[i]->size(); j++){ 859 + for (int j = 0; j < m_models[i]->size(); ++j){
860 covmat_entries.push_back(m_models[i]->at(j).name() + "(" + 860 covmat_entries.push_back(m_models[i]->at(j).name() + "(" +
861 m_models[i]->name() + ")" ); 861 m_models[i]->name() + ")" );
862 } 862 }
@@ -866,7 +866,7 @@ void GObservations::save_covmat(const GFilename&amp; filename) @@ -866,7 +866,7 @@ void GObservations::save_covmat(const GFilename&amp; filename)
866 GFits fits; 866 GFits fits;
867 867
868 // Create binary table and columns 868 // Create binary table and columns
869 - int size = covmat_entries.size(); 869 + int size = covmat_entries.size();
870 GFitsBinTable covmat_table; 870 GFitsBinTable covmat_table;
871 GFitsTableStringCol par("Parameters", 1, 50, size); 871 GFitsTableStringCol par("Parameters", 1, 50, size);
872 GFitsTableDoubleCol cov("Covariance", 1, size*size); 872 GFitsTableDoubleCol cov("Covariance", 1, size*size);