minor changes
This commit is contained in:
parent
67d185c384
commit
c13722fd54
|
@ -73,6 +73,13 @@ private:
|
|||
unsigned long mt[N]; // the array for the state vector
|
||||
int mti;
|
||||
|
||||
// construction
|
||||
public:
|
||||
|
||||
// ctor
|
||||
RandomGenerator(){}
|
||||
|
||||
|
||||
// public methods
|
||||
public:
|
||||
|
||||
|
@ -223,13 +230,6 @@ public:
|
|||
return (((double)generateWithImprovedMarsenneTwister()) + 0.5)*(1.0/4294967296.0);
|
||||
}
|
||||
|
||||
|
||||
// construction
|
||||
public:
|
||||
|
||||
// ctor
|
||||
RandomGenerator(){}
|
||||
|
||||
};
|
||||
|
||||
} // end namespace math
|
||||
|
|
Loading…
Reference in New Issue