Changeset 42bdb2


Ignore:
Timestamp:
Jun 20, 2008, 8:08:13 AM (17 years ago)
Author:
Frederik Heber <heber@…>
Children:
0f44198
Parents:
75793b2
Message:

MatrixContainer::ParseMatrix(): BUGFIX - line_s_.eof()

Bug was introduced by fixing compiler warnings, were we overlooked changing one line.eof() to lines.eof() in the second nested for-loop

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/parser.cpp

    r75793b2 r42bdb2  
    186186      for(int k=skipcolumns;k--;)
    187187        lines >> filename;
    188       for(int k=0;(k<ColumnCounter) && (!line.eof());k++) {
     188      for(int k=0;(k<ColumnCounter) && (!lines.eof());k++) {
    189189        lines >> Matrix[i][j][k];
    190190        //cout << " " << setprecision(2) << Matrix[i][j][k];;
Note: See TracChangeset for help on using the changeset viewer.