fix a bug in the derivative

This commit is contained in:
Holger Vogt 2020-10-03 15:11:56 +02:00
parent b86f7ce14d
commit 4d062ecc92
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ void cm_pswitch(ARGS) /* structure holding parms,
}
}
pi_pcntl = INPUT(out) / r * (loc->c2 * inmean * inmean - loc->c1 * INPUT(cntl_in));
pi_pcntl = INPUT(out) / r * (loc->c2 * inmean * inmean - loc->c1);
pi_pvout = 1.0 / r;
}