[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] RNG



Hello,
I have a provlem using a Random Number Generator.
I use a random number generator for draw the instant of beginning of FTP sessions.
I use an exponential distribution of average "avg":
   
    set rng1($i) [new RNG] 
    $rng1 seed HEURISTIC_SEED_SOURCE
    set x [$rng1 exponential $avg]
   
The problem is that when it has reached the 990� casual element, the simulator answers with:
 
    too many nested calls to Tcl_EvalObj (infinite loop?)
    while executing
 
Any suggestions?

Thanks.
Ivan