Changeset 432 in Sophya for trunk/Poubelle/archTOI.old/archtoi.cc
- Timestamp:
- Sep 24, 1999, 4:06:09 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Poubelle/archTOI.old/archtoi.cc
r426 r432 54 54 format = ascii_fmt; 55 55 undef = "#"; 56 undefV = -99999; 56 57 allBolos = false; 57 58 fptr = NULL; … … 92 93 } else if (key == "#UNDEF") { 93 94 undef=arg; 95 if (undef[0] >= '0' && undef[0] <= '9') 96 undefV = atoi(undef.c_str()); 94 97 } else if (key == "#ALLBOLOS") { 95 98 allBolos=true; … … 316 319 317 320 void ArchTOI::outValue_F(int icolumn, double value, bool notdef) { 321 if (notdef && undef != "#") { 322 notdef = false; 323 value = undefV; 324 } 318 325 if (notdef) { 319 326 fits_write_col_null(fptr, icolumn+1, fitsLine, 1, 1, &fitsStatus);
Note:
See TracChangeset
for help on using the changeset viewer.