Removed dependence on eoUniform, changed it to use rng.random or rng.uniform directly

This commit is contained in:
mac 2000-06-10 13:22:53 +00:00
commit c1b0a6c503
14 changed files with 446 additions and 313 deletions

View file

@ -36,7 +36,7 @@
#include <map>
// Includes from EO
#include <eoUniform.h>
#include <utils/eoRNG.h>
#include <eoOpSelector.h>
#include <eoOp.h>
@ -114,8 +114,7 @@ public:
throw runtime_error( "Operator rates added up different from 1.0" );
// If here, operators ordered by rate and no problem
eoUniform<float> u(0,1.0);
float aRnd = u();
float aRnd = rng.uniform();
i=begin();
acc = 0;
do {