Changeset 1988 in Sophya for trunk/ArchTOIPipe/ProcWSophya


Ignore:
Timestamp:
May 8, 2002, 10:24:58 PM (23 years ago)
Author:
ansari
Message:

Correction erreur/erreur de compil cxx de ring33.h de Cecile - Reza 8/5/2002

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ArchTOIPipe/ProcWSophya/ring33.h

    r1984 r1988  
    2828  inline        Matrix3x3(const Matrix3x3 & m)
    2929  {
    30     for(int i=0; i<9; i++)  {a_[i] = m.a_[i]; am1_[i] = m.am1_[i];}
     30    for(int i=0; i<9; i++)  a_[i] = m.a_[i];
    3131  }
    3232
     
    8686      // prevoir un break si determ <= threshold
    8787
     88      double am1_[9];
    8889      // Calcul des cofacteurs
    8990      am1_[0] =  (a_[4]*a_[8] - a_[5]*a_[7])/determ ;
     
    116117/*        am1_[5] = -(a_[0]*a_[5] - a_[3]*a_[2])/determ ; */
    117118/*        am1_[8] =  (a_[0]*a_[4] - a_[3]*a_[1])/determ ; */
    118       a_ = am1_;
     119      for(int k=0; k<9; k++) a_[k] = am1_[k];
    119120      return (*this);}
    120121
    121122
    122123protected:
    123   double a_[9], am1_[9];
     124  double a_[9];
    124125 
    125126};
Note: See TracChangeset for help on using the changeset viewer.