Changeset 702 in Sophya


Ignore:
Timestamp:
Jan 6, 2000, 4:48:10 PM (26 years ago)
Author:
ansari
Message:

Rationalisation mac. D. Y.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaExt/FitsIOServer/fitsioserver.cc

    r695 r702  
    169169      else if(bitpix ==  LONG_IMG)
    170170        {
    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);
    172173          load(*mat,flnm);
    173174          if(naxis == 1)
    174175            {
    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.
    176178              delete mat;
    177179              return vect;
     
    435437              int ival;
    436438              fits_read_key(fptr,TINT,keyname,&ival,NULL,&status);
    437               nt0.Info()[keyname]= ival;
     439              nt0.Info()[keyname]= (long) ival;         // Portage mac DY
    438440              break;
    439441            case 'L':
     
    441443              if(strncmp(strval,"T",1) == 0) ilog= 1;
    442444              else ilog= 0;
    443               nt0.Info()[keyname]= ilog;
     445              nt0.Info()[keyname]= (long) ilog;
    444446              break;
    445447            case 'F':
  • trunk/SophyaLib/NTools/generalfit.cc

    r682 r702  
    55#include <math.h>
    66#ifdef __MWERKS__
     7   #include "mwerksmath.h" // Portage mac D. Y.
    78#include "unixmac.h"
    89#endif
  • trunk/SophyaLib/Samba/localmap.h

    r701 r702  
    8080/* return/set the number of pixels */
    8181/*!    Return number of pixels */
    82 virtual int NbPixels() const;
     82virtual int_4 NbPixels() const;   // D.Y. int change en int_4 rationalisation Mac
    8383 
    8484/* return the value of pixel number k */
  • trunk/SophyaLib/Samba/utilgeom.h

    r682 r702  
    33#include <math.h>
    44#ifdef __MWERKS__
     5 #include "mwerksmath.h"                // D.Y. Portage mac/ Math.h Unix
    56#include "unixmac.h"
    67#endif
Note: See TracChangeset for help on using the changeset viewer.