Changeset 545 in Sophya for trunk


Ignore:
Timestamp:
Nov 3, 1999, 7:47:56 PM (26 years ago)
Author:
ercodmgr
Message:

modifs TVector/TMatrix pour compil Planck - Reza 3/11/99

Location:
trunk/SophyaPI/PIext
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/pawexecut.cc

    r544 r545  
    2323#include "tmatrix.h"
    2424#include "tvector.h"
    25 
    2625#endif
    2726
     
    142141string ctyp = typeid(*mobj).name();
    143142
     143#ifdef SANS_EVOLPLANCK
    144144if(typeid(*mobj)==typeid(Vector))       {Vector*  ob=(Vector*) mobj; ob->Zero();}
    145145else if(typeid(*mobj)==typeid(Matrix))  {Matrix*  ob=(Matrix*) mobj; ob->Zero();}
     146#else
     147if(typeid(*mobj)==typeid(Vector))       {Vector*  ob=(Vector*) mobj; ob->Reset(0.);}
     148else if(typeid(*mobj)==typeid(Matrix))  {Matrix*  ob=(Matrix*) mobj; ob->Reset(0.);}
     149#endif
    146150else if(typeid(*mobj)==typeid(Histo))   {Histo*   ob=(Histo*)  mobj; ob->Zero();}
    147151else if(typeid(*mobj)==typeid(HProf))   {HProf*   ob=(HProf*)  mobj; ob->Zero();}
  • trunk/SophyaPI/PIext/piafitting.h

    r495 r545  
    1616#include "dlftypes.h"
    1717#include "piacmd.h"
    18 #include "cvector.h"
    1918
    2019class PIStdImgApp;
    2120class PIAFitterWind;
    22 class Matrix;
    2321class RzImage; //CMV_A_FAIRE class RzImage;
    2422
    2523#ifdef SANS_EVOLPLANCK
     24#include "cvector.h"
    2625class GeneralFunction; class GeneralFunc; class GeneralFit;
    2726class GeneralFitData;
    2827class Histo;  class Histo2D;
    2928#else
     29#include "tvector.h"
    3030namespace PlanckDPC {
    3131class GeneralFunction; class GeneralFunc; class GeneralFit;
Note: See TracChangeset for help on using the changeset viewer.