Changeset 1875 in Sophya for trunk/SophyaLib/BaseTools


Ignore:
Timestamp:
Jan 20, 2002, 12:43:18 AM (24 years ago)
Author:
ansari
Message:

Suppression methode MuTyV:;ToComplex() - Reza 19/01/2002

Location:
trunk/SophyaLib/BaseTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/BaseTools/dvlist.cc

    r1871 r1875  
    223223if (it == mvlist.end())  return(def);
    224224#if defined(__GNUG__)
    225 // complex<r_8> z;
    226 // z = (*it).second.elval;
    227 return((*it).second.elval.ToComplexD());
     225complex<r_8> z;
     226z = (*it).second.elval;
     227return(z);
    228228#else
    229229return( (complex<r_8>)(*it).second.elval );
  • trunk/SophyaLib/BaseTools/mutyv.h

    r1871 r1875  
    6060
    6161  inline operator uint_2() const { return((uint_2)iv); }
     62  inline operator uint_4() const { return((uint_4)iv); }
    6263  inline operator uint_8() const { return((uint_8)iv); }
    6364  inline operator int_4()  const { return((int_4)iv); }
     
    6970
    7071         operator string() const ;
    71 
    72   /* g++ a du mal avec les operateurs de conversion complex<T>   */
    73   /* On definit donc les deux methodes de conversion nommees explicitement */
    74   inline complex<r_4> ToComplexF() const { return(complex<r_4>((r_4)dv, (r_4)dv_im)); }
    75   inline complex<r_8> ToComplexD() const { return(complex<r_8>(dv, dv_im)); }
    7672
    7773  inline MTVType Type() const { return typ; }
Note: See TracChangeset for help on using the changeset viewer.