Changeset 996 for trunk/src/STAsciiWriter.cpp
- Timestamp:
- 04/06/06 13:45:58 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STAsciiWriter.cpp
r994 r996 123 123 124 124 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 ) { 126 126 ostringstream os,os1; 127 127 os << "y" << i; … … 136 136 Matrix<Float> specs = specCol.getColumn(); 137 137 Matrix<uChar> flags = flagCol.getColumn(); 138 for ( int i=0; i<specs.nrow(); ++i ) {138 for ( unsigned int i=0; i<specs.nrow(); ++i ) { 139 139 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 ) { 141 141 of << setw(16) << setprecision(8) << specs(i,j) ; 142 142 of << setw(7) << Int(flags(i,j));
Note: See TracChangeset
for help on using the changeset viewer.