Changeset 2668 in Sophya for trunk/SophyaPI


Ignore:
Timestamp:
Apr 15, 2005, 1:52:47 PM (20 years ago)
Author:
ansari
Message:

Passage remplissage NTuple en double dans Serv2NameObjMgr::ComputeExpression() - Reza 15/4/2005

File:
1 edited

Legend:

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

    r2615 r2668  
    900900
    901901double xnt[10];
    902 float  fxnt[10];
    903902
    904903int i,k;
    905 for(i=0; i<10; i++) fxnt[i] = xnt[i] = 0.;
     904for(i=0; i<10; i++) xnt[i] = 0.;
    906905
    907906
     
    925924    xn = objnt->GetLineD(k);
    926925    if (f((int_8_exprf)k, xn, xnt, xnt+1, xnt+2, xnt+3, (int_8_exprf)kstart,(int_8_exprf) kend) != 0) {
    927       if (nt) {
    928          for(int i=0; i<4; i++) fxnt[i] = xnt[i];
    929          nt->Fill(fxnt);
    930          }
     926      if (nt)  nt->Fill(xnt);
    931927      }
    932928    }
     
    11791175
    11801176double xnt[10];
    1181 float  fxnt[10];
    11821177
    11831178int_8 k;
     
    11961191    xn = objnt->GetLineD(k);
    11971192    if (f((int_8_exprf)k,xn, xnt, xnt+1, xnt+2, xnt+3) != 0) {
    1198       if (nt) {
    1199          for(int i=0; i<4; i++) fxnt[i] = xnt[i];
    1200          nt->Fill(fxnt);
    1201          }
     1193      if (nt) nt->Fill(xnt);
    12021194      if (h1) h1->Add(xnt[0], xnt[3]);
    12031195      if (h2) h2->Add(xnt[0], xnt[1], xnt[3]);
Note: See TracChangeset for help on using the changeset viewer.