We start not at 0, but use the mean value (given in PARAM2) as

start value
This commit is contained in:
Holger Vogt 2022-03-28 18:00:14 +02:00
parent e52ea6109a
commit 86132f445d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}