Changeset 1146 in Sophya for trunk/SophyaExt


Ignore:
Timestamp:
Aug 28, 2000, 6:05:32 PM (25 years ago)
Author:
ansari
Message:

long nextLineToBeRead_ change en int nextLineToBeRead_ pour une rationalisation Mac, CFitsio, etc....

D.Y.

File:
1 edited

Legend:

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

    r1136 r1146  
    9898    {
    9999      dcount_ = DfitsCol.size();
    100       ddata_ = new double[dcount_];
     100      ddata_ = new r_8[dcount_];
    101101    }
    102102  if (FfitsCol.size()>0)
    103103    {
    104104      fcount_ = FfitsCol.size();
    105       fdata_ = new float[fcount_];
     105      fdata_ = new r_4[fcount_];
    106106    }
    107107  if (IfitsCol.size()>0)
    108108    {
    109109      icount_ = IfitsCol.size();
    110       idata_ = new int[icount_];
     110      idata_ = new int_4[icount_];
    111111    }
    112112  if (SfitsCol.size()>0)
     
    148148
    149149XNTuple FITS_BntblLineReader::ReadNextLine()
    150 {
    151   inFits_->GetBinTabLine(nextLineToBeRead_++, ddata_, fdata_, idata_, cdata_ );
     150{ //inFits_->GetBinTabLine(nextLineToBeRead_++, ddata_, fdata_, idata_, cdata_ );
     151  inFits_->GetBinTabLine(nextLineToBeRead_++, ddata_, fdata_, (int *) idata_, cdata_ );
     152                // Portage Mac Incompatibilite int_4, int sur mac et CFitsIO
    152153  XNTuple xnt(dcount_, fcount_, icount_,ccount_, ColName_);
    153154  xnt.Fill(ddata_, fdata_, idata_, cdata_);   
Note: See TracChangeset for help on using the changeset viewer.