Changeset 712 in Sophya for trunk/SophyaExt
- Timestamp:
- Jan 21, 2000, 6:02:41 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/FitsIOServer/fitsioserver.cc
r702 r712 55 55 if(tfields != 1) 56 56 throw IOExc("FitsIOServer::dataobj ERROR more than one column !"); 57 58 57 // get the datatype of the values 59 58 int DTYPE; … … 169 168 else if(bitpix == LONG_IMG) 170 169 { 171 // TMatrix<int> *mat=new TMatrix<int>(nrows,ncols); 172 TMatrix<long> *mat=new TMatrix<long>(nrows,ncols); 170 TMatrix<int_4> *mat=new TMatrix<int_4>(nrows,ncols); 173 171 load(*mat,flnm); 174 172 if(naxis == 1) 175 173 { 176 TVector<long> *vect=new TVector<long>(*mat); 177 // TVector<int> *vect=new TVector<int>(*mat); // Rationalisation mac D.Y. 174 TVector<int_4> *vect=new TVector<int_4>(*mat); 178 175 delete mat; 179 176 return vect; … … 437 434 int ival; 438 435 fits_read_key(fptr,TINT,keyname,&ival,NULL,&status); 439 nt0.Info()[keyname]= ( long) ival; // Portage mac DY436 nt0.Info()[keyname]= (int_4) ival; // Portage mac DY 440 437 break; 441 438 case 'L': … … 443 440 if(strncmp(strval,"T",1) == 0) ilog= 1; 444 441 else ilog= 0; 445 nt0.Info()[keyname]= ( long) ilog;442 nt0.Info()[keyname]= (int_4) ilog; 446 443 break; 447 444 case 'F':
Note:
See TracChangeset
for help on using the changeset viewer.