Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/parser.cpp

    r244a84 r5e8f82  
    66
    77// ======================================= INCLUDES ==========================================
    8 
    9 #include <cstring>
    108
    119#include "helpers.hpp"
     
    158156
    159157  input.open(name, ios::in);
    160   //Log() << Verbose(1) << "Opening " << name << " ... "  << input << endl;
     158  //Log() << Verbose(0) << "Opening " << name << " ... "  << input << endl;
    161159  if (input == NULL) {
    162160    eLog() << Verbose(1) << endl << "Unable to open " << name << ", is the directory correct?" << endl;
     
    181179  }
    182180  //Log() << Verbose(0) << line.str() << endl;
    183   //Log() << Verbose(1) << "ColumnCounter[" << MatrixNr << "]: " << ColumnCounter[MatrixNr] << "." << endl;
     181  //Log() << Verbose(0) << "ColumnCounter[" << MatrixNr << "]: " << ColumnCounter[MatrixNr] << "." << endl;
    184182  if (ColumnCounter[MatrixNr] == 0) {
    185183    eLog() << Verbose(0) << "ColumnCounter[" << MatrixNr << "]: " << ColumnCounter[MatrixNr] << " from file " << name << ", this is probably an error!" << endl;
     
    197195    }
    198196  }
    199   //Log() << Verbose(1) << "RowCounter[" << MatrixNr << "]: " << RowCounter[MatrixNr] << " from file " << name << "." << endl;
     197  //Log() << Verbose(0) << "RowCounter[" << MatrixNr << "]: " << RowCounter[MatrixNr] << " from file " << name << "." << endl;
    200198  if (RowCounter[MatrixNr] == 0) {
    201199    eLog() << Verbose(0) << "RowCounter[" << MatrixNr << "]: " << RowCounter[MatrixNr] << " from file " << name << ", this is probably an error!" << endl;
     
    220218      input.getline(filename, 1023);
    221219      stringstream lines(filename);
    222       //Log() << Verbose(2) << "Matrix at level " << j << ":";// << filename << endl;
     220      //Log() << Verbose(0) << "Matrix at level " << j << ":";// << filename << endl;
    223221      for(int k=skipcolumns;k--;)
    224222        lines >> filename;
    225223      for(int k=0;(k<ColumnCounter[MatrixNr]) && (!lines.eof());k++) {
    226224        lines >> Matrix[MatrixNr][j][k];
    227         //Log() << Verbose(1) << " " << setprecision(2) << Matrix[MatrixNr][j][k] << endl;
     225        //Log() << Verbose(0) << " " << setprecision(2) << Matrix[MatrixNr][j][k];;
    228226      }
     227      //Log() << Verbose(0) << endl;
    229228      Matrix[MatrixNr][ RowCounter[MatrixNr] ] = Malloc<double>(ColumnCounter[MatrixNr], "MatrixContainer::ParseMatrix: *Matrix[RowCounter[MatrixNr]][]");
    230229      for(int j=ColumnCounter[MatrixNr];j--;)
Note: See TracChangeset for help on using the changeset viewer.