Moved the static eoRNG rng to an extern eoRNG
This external object is now defined in eoPersistent.cpp This should change...
This commit is contained in:
parent
c48c1f2c12
commit
2443677f13
12 changed files with 257 additions and 227 deletions
|
|
@ -197,7 +197,7 @@ public :
|
|||
{
|
||||
if (total == 0)
|
||||
{ // count
|
||||
for (unsigned i = 0; i < vec.size(); ++i)
|
||||
for (int i = 0; i < vec.size(); ++i)
|
||||
total += vec[i];
|
||||
}
|
||||
|
||||
|
|
@ -270,7 +270,7 @@ private :
|
|||
/**
|
||||
The one and only global eoRng object
|
||||
*/
|
||||
static eoRng rng;
|
||||
extern eoRng rng;
|
||||
|
||||
/**
|
||||
The class uniform_generator can be used in the STL generate function
|
||||
|
|
|
|||
Reference in a new issue