fix a bug in the derivative

This commit is contained in:
Holger Vogt
2020-10-10 13:54:39 +02:00
parent b86f7ce14d
commit 4d062ecc92
+1 -1
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;
}