Changeset 3615 in Sophya for trunk/SophyaPI/PIext/pihisto2d.cc


Ignore:
Timestamp:
May 1, 2009, 1:34:31 PM (16 years ago)
Author:
cmv
Message:

Modifs relatives a l'introduction de RandomGeneratorInterface + delete de srandgen.c, cmv 01/05/2009

File:
1 edited

Legend:

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

    r3559 r3615  
    444444    int ipt  = int(npt *frac);
    445445    for(int k=0;k<ipt;k++) {
    446       double x = left0 + frand01()*dx;
    447       double y = bottom0 + frand01()*dy;
     446      double x = left0 + drand01()*dx;
     447      double y = bottom0 + drand01()*dy;
    448448      g->DrawMarker(x,y);
    449449    }
Note: See TracChangeset for help on using the changeset viewer.