Changeset 2577 in Sophya for trunk/SophyaPI/PIext


Ignore:
Timestamp:
Jul 29, 2004, 2:33:13 PM (21 years ago)
Author:
ansari
Message:

Adaptation ds pawexecut.cc suites modifs methodes Add/Sub/Mul/DivElt(.., res) de TArray - Reza 29 Juillet 2004

File:
1 edited

Legend:

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

    r2419 r2577  
    912912        <<" not implemented for Vector in Peida"<<endl;
    913913#else
    914   else if( oper[0]=='*') {h3->Clone(*h1); h3->MulElt(*h2);}
    915   else if( oper[0]=='/') {h3->Clone(*h1); h3->DivElt(*h2,false,true);}
     914  else if( oper[0]=='*') {h3->Clone(*h1); h3->MulElt(*h2,*h3);}
     915  else if( oper[0]=='/') {h3->Clone(*h1); h3->DivElt(*h2,*h3,false,true);}
    916916#endif
    917917
     
    952952        <<" not implemented for Vector in Peida"<<endl;
    953953#else
    954   else if( oper[0]=='*') {h3->Clone(*h1); h3->MulElt(*h2);}
    955   else if( oper[0]=='/') {h3->Clone(*h1); h3->DivElt(*h2,false,true);}
     954  else if( oper[0]=='*') {h3->Clone(*h1); h3->MulElt(*h2,*h3);}
     955  else if( oper[0]=='/') {h3->Clone(*h1); h3->DivElt(*h2,*h3,false,true);}
    956956#endif
    957957
Note: See TracChangeset for help on using the changeset viewer.