- Timestamp:
- Jan 6, 2000, 4:48:10 PM (26 years ago)
- Location:
- trunk
- Files:
-
- 4 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': -
trunk/SophyaLib/NTools/generalfit.cc
r682 r702 5 5 #include <math.h> 6 6 #ifdef __MWERKS__ 7 #include "mwerksmath.h" // Portage mac D. Y. 7 8 #include "unixmac.h" 8 9 #endif -
trunk/SophyaLib/Samba/localmap.h
r701 r702 80 80 /* return/set the number of pixels */ 81 81 /*! Return number of pixels */ 82 virtual int NbPixels() const;82 virtual int_4 NbPixels() const; // D.Y. int change en int_4 rationalisation Mac 83 83 84 84 /* return the value of pixel number k */ -
trunk/SophyaLib/Samba/utilgeom.h
r682 r702 3 3 #include <math.h> 4 4 #ifdef __MWERKS__ 5 #include "mwerksmath.h" // D.Y. Portage mac/ Math.h Unix 5 6 #include "unixmac.h" 6 7 #endif
Note:
See TracChangeset
for help on using the changeset viewer.