Changeset 132


Ignore:
Timestamp:
Aug 9, 2004, 3:24:38 PM (17 years ago)
Author:
Peter
Message:

modified stream constructor to ignore empty lines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/vector.cc

    r126 r132  
    7878        v.push_back(t);
    7979      }
     80
     81      // Ignoring empty lines
     82      if(!v.size()){
     83        nof_rows--;
     84        continue;
     85      }
     86
    8087      if(nof_columns==0)
    8188        nof_columns=v.size();
Note: See TracChangeset for help on using the changeset viewer.