Changeset 702 in Sophya for trunk/SophyaExt/FitsIOServer
- Timestamp:
- Jan 6, 2000, 4:48:10 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/FitsIOServer/fitsioserver.cc
r695 r702 169 169 else if(bitpix == LONG_IMG) 170 170 { 171 TMatrix<int> *mat=new TMatrix<int>(nrows,ncols); 171 // TMatrix<int> *mat=new TMatrix<int>(nrows,ncols); 172 TMatrix<long> *mat=new TMatrix<long>(nrows,ncols); 172 173 load(*mat,flnm); 173 174 if(naxis == 1) 174 175 { 175 TVector<int> *vect=new TVector<int>(*mat); 176 TVector<long> *vect=new TVector<long>(*mat); 177 // TVector<int> *vect=new TVector<int>(*mat); // Rationalisation mac D.Y. 176 178 delete mat; 177 179 return vect; … … 435 437 int ival; 436 438 fits_read_key(fptr,TINT,keyname,&ival,NULL,&status); 437 nt0.Info()[keyname]= ival;439 nt0.Info()[keyname]= (long) ival; // Portage mac DY 438 440 break; 439 441 case 'L': … … 441 443 if(strncmp(strval,"T",1) == 0) ilog= 1; 442 444 else ilog= 0; 443 nt0.Info()[keyname]= ilog;445 nt0.Info()[keyname]= (long) ilog; 444 446 break; 445 447 case 'F':
Note:
See TracChangeset
for help on using the changeset viewer.