Changeset 3168 in Sophya


Ignore:
Timestamp:
Feb 2, 2007, 6:52:04 PM (19 years ago)
Author:
ansari
Message:

Adaptation prg test au passage a la version ll (LONGLONG) des routines fits , cmv+Reza 02/02/2007

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaProg/Tests/tnfits.cc

    r2935 r3168  
    4646        cout << dvl;
    4747        if (fios.CurrentHDUType() == IMAGE_HDU) {
    48           long naxes[5] = {0,0,0,0,0};
     48          LONGLONG naxes[5] = {0,0,0,0,0};
    4949          int naxis=5;
    5050          fios.GetImageHDUInfo(naxis, naxes);
     
    6161          vector<string> colnames;
    6262          vector<int> coltypes;
    63           vector<long> repcnt;
    64           vector<long> width;
     63          vector<LONGLONG> repcnt, width;
    6564          int ncols = fios.GetColInfo(colnames, coltypes, repcnt, width);
    6665          cout << " NCols from GetColInfo = " << ncols << endl;
     
    8281      //     cout << " CurrHDU-1 : " << fiosc.CurrentHDU()
    8382      //           << " Type=" << fiosc.CurrentHDUType() <<endl;
    84       long naxes[5] = {5,5,0,0,0};
     83      LONGLONG naxes[5] = {5,5,0,0,0};
    8584      fiosc.CreateImageHDU(FLOAT_IMG, 2, naxes);
    8685      float data[100];
Note: See TracChangeset for help on using the changeset viewer.