Changeset 3102 in Sophya for trunk/SophyaLib


Ignore:
Timestamp:
Nov 2, 2006, 4:23:21 PM (19 years ago)
Author:
ansari
Message:

Petite erreur de compil ds srandgen.c detecte par SGI - Reza 02/11/2006

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/BaseTools/srandgen.c

    r3099 r3102  
    252252int PoissRand(double mu)
    253253{
    254   double pp,ppi;
     254  double pp,ppi,x;
     255  int n;
    255256  ppi = pp = exp(-mu);
    256   double x = drand01();
    257   int n = 0;
     257  x = drand01();
     258  n = 0;
    258259  while (x > ppi) {
    259260    n++;
Note: See TracChangeset for help on using the changeset viewer.