Changeset 3247 in Sophya for trunk/SophyaLib/HiStats/hist2err.cc
- Timestamp:
- May 15, 2007, 11:49:12 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/HiStats/hist2err.cc
r3236 r3247 285 285 for(long i=0;i<NBinX();i++) for(long j=0;j<NBinY();j++) { 286 286 // ligne = i*NY+j 287 fprintf(file,"% d %d %.17e %.17e %.0f\n"287 fprintf(file,"%ld %ld %.17e %.17e %.0f\n" 288 288 ,i,j,(*this)(i,j),Error2(i,j),NEntBin(i,j)); 289 289 } … … 313 313 314 314 r_8 xmin,xmax,wx, ymin,ymax,wy; long mnmean=1; 315 sscanf(line,"% d %lf %lf %lf %d %lf %lf %lf %d"315 sscanf(line,"%ld %lf %lf %lf %ld %lf %lf %lf %ld" 316 316 ,&nbinx,&xmin,&xmax,&wx 317 317 ,&nbiny,&ymin,&ymax,&wy … … 327 327 328 328 long i,j; r_8 v,e2,nb; 329 sscanf(line,"% d %d %lf %lf %lf",&i,&j,&v,&e2,&nb);329 sscanf(line,"%ld %ld %lf %lf %lf",&i,&j,&v,&e2,&nb); 330 330 SetBin(i,j,v); 331 331 SetErr2(i,j,e2);
Note:
See TracChangeset
for help on using the changeset viewer.