Fixed NormalVariable::INFINITE_VALUE
This commit is contained in:
@@ -399,6 +399,7 @@ RandomVariable* WeibullVariable::Copy() const
|
||||
//-----------------------------------------------------------------------------
|
||||
//-----------------------------------------------------------------------------
|
||||
// NormalVariable methods
|
||||
const double NormalVariable::INFINITE_VALUE = 1e307;
|
||||
NormalVariable::NormalVariable()
|
||||
: m_mean(0.0), m_variance(1.0), m_bound(INFINITE_VALUE), m_nextValid(false){}
|
||||
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#define INFINITE_VALUE 1e307
|
||||
namespace ns3{
|
||||
|
||||
class RngStream;
|
||||
@@ -504,6 +503,7 @@ private:
|
||||
class NormalVariable : public RandomVariable { // Normally Distributed random var
|
||||
|
||||
public:
|
||||
static const double INFINITE_VALUE;
|
||||
/**
|
||||
* Constructs an normal random variable with a mean
|
||||
* value of 0 and variance of 1.
|
||||
|
||||
Reference in New Issue
Block a user