Changeset 2578 in Sophya for trunk/SophyaProg/Tests/carrt.cc


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaProg/Tests/carrt.cc

    r2568 r2578  
    5555  if (narg > 5) nprt = atoi(arg[5]);
    5656
    57   BaseArray::SetMaxPrint(nprt, prtlev);
     57  BaseArray::SetMaxPrint(nprt);
    5858  int rc = 0;
    5959  PrtTim(" Start of Test ");
     
    227227  else cout << "(7) OK   Test C=A+2*B  OK " << endl;
    228228
    229   c = (a*4+1).DivElt(b);
     229  (a*4+1).DivElt(b,c);
    230230  if (prtlev > 0) cout << "(8) C = (A*4+1)/B = " << c << endl;
    231231  getMinMax(c, min, max);
     
    347347  else cout << "(7) OK   Test C=A+2*B  OK " << endl;
    348348
    349   c = (a*4.0f+5.5f).DivElt(b);
     349  (a*4.0f+5.5f).DivElt(b,c);
    350350  if (prtlev > 0) cout << "(8) C = (A*4+12)/B = " << c << endl;
    351351  getMinMax(c, min, max);
Note: See TracChangeset for help on using the changeset viewer.