We start not at 0, but use the mean value (given in PARAM2) as
start value
This commit is contained in:
parent
e52ea6109a
commit
86132f445d
|
|
@ -237,7 +237,7 @@ trrandom_state_init(int rndtype, double TS, double TD, double PARAM1, double PAR
|
|||
this->TD = TD;
|
||||
this->PARAM1 = PARAM1;
|
||||
this->PARAM2 = PARAM2;
|
||||
this->value = 0.0;
|
||||
this->value = PARAM2;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue