Changeset 1236 in Sophya for trunk/SophyaPI/PIext


Ignore:
Timestamp:
Oct 18, 2000, 4:37:04 PM (25 years ago)
Author:
ercodmgr
Message:

petit bug arg FitPol ds LinFit cmv 18/10/00

File:
1 edited

Legend:

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

    r1207 r1236  
    910910      <<" (xc="<<xc<<")"<<endl;
    911911  Poly p1(0);
    912   double c2rl = mGData->PolFit(0,p1,degre,xc);
     912  double c2rl = mGData->PolFit(0,p1,degre,true,xc);
    913913  cout<<"C2r_lineaire = "<<c2rl<<endl;
    914914  if(mOpt.lp>0) cout<<p1<<endl;
     
    917917      <<" (xc,yc="<<xc<<","<<yc<<")"<<endl;
    918918  Poly2 p2(0);
    919   double c2rl = mGData->PolFit(0,1,p2,degre,xc,yc);
     919  double c2rl = mGData->PolFit(0,1,p2,degre,-1,true,xc,yc);
    920920  cout<<"C2r_lineaire = "<<c2rl<<endl;
    921921  if(mOpt.lp>0) cout<<p2<<endl;
Note: See TracChangeset for help on using the changeset viewer.