fix a bug in the derivative
This commit is contained in:
parent
b86f7ce14d
commit
4d062ecc92
|
|
@ -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;
|
pi_pvout = 1.0 / r;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue