Changeset 3168 in Sophya for trunk/SophyaProg/Tests/tnfits.cc
- Timestamp:
- Feb 2, 2007, 6:52:04 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaProg/Tests/tnfits.cc
r2935 r3168 46 46 cout << dvl; 47 47 if (fios.CurrentHDUType() == IMAGE_HDU) { 48 longnaxes[5] = {0,0,0,0,0};48 LONGLONG naxes[5] = {0,0,0,0,0}; 49 49 int naxis=5; 50 50 fios.GetImageHDUInfo(naxis, naxes); … … 61 61 vector<string> colnames; 62 62 vector<int> coltypes; 63 vector<long> repcnt; 64 vector<long> width; 63 vector<LONGLONG> repcnt, width; 65 64 int ncols = fios.GetColInfo(colnames, coltypes, repcnt, width); 66 65 cout << " NCols from GetColInfo = " << ncols << endl; … … 82 81 // cout << " CurrHDU-1 : " << fiosc.CurrentHDU() 83 82 // << " Type=" << fiosc.CurrentHDUType() <<endl; 84 longnaxes[5] = {5,5,0,0,0};83 LONGLONG naxes[5] = {5,5,0,0,0}; 85 84 fiosc.CreateImageHDU(FLOAT_IMG, 2, naxes); 86 85 float data[100];
Note:
See TracChangeset
for help on using the changeset viewer.