Changeset 2233 in Sophya for trunk/SophyaExt/FitsIOServer


Ignore:
Timestamp:
Oct 28, 2002, 11:02:30 AM (23 years ago)
Author:
lemeur
Message:

correction longueurs de tableaux d'entiers das GetBinTabLine

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaExt/FitsIOServer/fitsfile.cc

    r2209 r2233  
    10381038  int fcount = 0.;
    10391039  int icount = 0;
     1040  int lcount = 0;
     1041  int bcount = 0;
    10401042  int ccount =0;
    10411043  int ncol;
     
    10621064        case FitsDataType_long :
    10631065          {
    1064             fits_read_col(fptr_,TLONG,ncol+1,NoLine+1,1,1,&inull,&ligne.ldata_[icount++], &anynul,&status);
     1066            fits_read_col(fptr_,TLONG,ncol+1,NoLine+1,1,1,&inull,&ligne.ldata_[lcount++], &anynul,&status);
    10651067            break;
    10661068          }
    10671069        case FitsDataType_byte :
    10681070          {
    1069             fits_read_col(fptr_,TBYTE,ncol+1,NoLine+1,1,1,&inull,&ligne.bdata_[icount++], &anynul,&status);
     1071            fits_read_col(fptr_,TBYTE,ncol+1,NoLine+1,1,1,&inull,&ligne.bdata_[bcount++], &anynul,&status);
    10701072            break;
    10711073          }
Note: See TracChangeset for help on using the changeset viewer.