Ignore:
Timestamp:
04/06/06 13:45:58 (18 years ago)
Author:
mar637
Message:

more fixes after compiling with -Wall.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STAsciiWriter.cpp

    r994 r996  
    123123
    124124    of << std::left << setw(16) << "x";
    125     for ( int i=0; i<t.nrow(); ++i ) {
     125    for ( unsigned int i=0; i<t.nrow(); ++i ) {
    126126      ostringstream os,os1;
    127127      os << "y" << i;
     
    136136    Matrix<Float> specs = specCol.getColumn();
    137137    Matrix<uChar> flags = flagCol.getColumn();
    138     for ( int i=0; i<specs.nrow(); ++i ) {
     138    for ( unsigned int i=0; i<specs.nrow(); ++i ) {
    139139      of << setw(16) << setprecision(8) << abc[i] ;
    140       for ( int j=0; j<specs.ncolumn(); ++j ) {
     140      for ( unsigned int j=0; j<specs.ncolumn(); ++j ) {
    141141        of << setw(16) << setprecision(8) << specs(i,j) ;
    142142        of << setw(7) << Int(flags(i,j));
Note: See TracChangeset for help on using the changeset viewer.