Changeset 244 in Sophya for trunk/SophyaLib/NTools/perandom.cc


Ignore:
Timestamp:
Apr 22, 1999, 6:18:52 PM (26 years ago)
Author:
ansari
Message:

beaucoup modifs rz+cmv 22/4/99

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/NTools/perandom.cc

    r220 r244  
    1 #include "defs.h"
     1#include "machdefs.h"
     2#include "pexceptions.h"
    23#include "perandom.h"
    34#include "pemath.h"
     
    198199{
    199200  x = ranX->BinRandom();
    200   FAILNIL(ranY[x]);
     201  //  FAILNIL(ranY[x]);  Ne compile pas $CHECK$ Reza 22/04/99
    201202  y = ranY[x]->BinRandom();
    202203}
     
    211212  x = ranX->Random();
    212213  int i = int(ceil(x));
    213   FAILNIL(ranY[i]);
     214  //  FAILNIL(ranY[i]);  Ne compile pas $CHECK$ Reza 22/04/99
    214215  y = ranY[i]->Random();
    215216}
Note: See TracChangeset for help on using the changeset viewer.