Changeset 545 in Sophya for trunk/SophyaPI/PIext/pawexecut.cc


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

File:
1 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();}
Note: See TracChangeset for help on using the changeset viewer.