Changeset 3149 in Sophya for trunk/SophyaPI/PIext/pintuple.cc


Ignore:
Timestamp:
Jan 18, 2007, 7:21:49 PM (19 years ago)
Author:
cmv
Message:

suite adaptation travail reza 2D et adapteur + adaptation aux modifs HistoErr cmv 18/01/2007

File:
1 edited

Legend:

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

    r2755 r3149  
    364364           || opts=="nostat" || opts=="nostats") SetStats(false);
    365365    else if(opts.substr(0,11) == "statposoff=") {
    366       float xo=0., yo=0.;
    367       sscanf(opts.substr(11).c_str(),"%g,%g",&xo, &yo);
     366      double xo=0., yo=0.;
     367      sscanf(opts.substr(11).c_str(),"%lf,%lf",&xo, &yo);
    368368      SetStatPosOffset(xo, yo);
    369369    }
     
    400400 if(stats) opt.push_back("stat"); else opt.push_back("nstat");
    401401
    402  sprintf(str,"statposoff=%g,%g",spoX,spoY); opt.push_back(str);
     402 sprintf(str,"statposoff=%lf,%lf",spoX,spoY); opt.push_back(str);
    403403
    404404 if(connectPts) opt.push_back("connectpoints");
Note: See TracChangeset for help on using the changeset viewer.