From 86132f445d76ef4364ef218df4285c3e7718d8ad Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Mon, 28 Mar 2022 18:00:14 +0200 Subject: [PATCH] We start not at 0, but use the mean value (given in PARAM2) as start value --- src/frontend/trannoise/1-f-code.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/trannoise/1-f-code.c b/src/frontend/trannoise/1-f-code.c index bdbcb2ef3..99bdc2f89 100644 --- a/src/frontend/trannoise/1-f-code.c +++ b/src/frontend/trannoise/1-f-code.c @@ -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; }