Changeset 12493 for trunk/FACT++
- Timestamp:
- 11/11/11 03:18:42 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/fitsdump.cc
r12150 r12493 578 578 return false; 579 579 } 580 if (columnEnd > cCol->width())580 if (columnEnd>1 && columnEnd > cCol->width()) 581 581 { 582 582 cerr << "ERROR - End range for column " << columnNameOnly << " is greater than the last element (" << cCol->width() << " vs " << columnEnd << "). Aborting" << endl; … … 676 676 if (status) 677 677 { 678 cerr << "An error occurred while reading fits row #" << i << " error code: " << status << endl; 678 char text[30];//max length of cfitsio error strings (from doc) 679 fits_get_errstatus(status, text); 680 681 cerr << "Reading row " << i << " failed: " << text << " (fits_insert_rows,rc=" << status << ")" << endl; 679 682 break; 680 683 }
Note:
See TracChangeset
for help on using the changeset viewer.