Mercurial > mxe-octave
diff src/of-control-2-octave-9-compat.patch @ 6664:e09548fd6932
of-control: update to v3.5.1
* src/of-control.mk: update to v3.5.1, use github
* src/of-control-2-octave-9-compat.patch: update patch
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sun, 26 Mar 2023 17:24:24 -0400 |
parents | 8ea9085d1f80 |
children |
line wrap: on
line diff
--- a/src/of-control-2-octave-9-compat.patch Thu Mar 23 10:06:21 2023 -0400 +++ b/src/of-control-2-octave-9-compat.patch Sun Mar 26 17:24:24 2023 -0400 @@ -17,26 +17,3 @@ nu, rank, dinfz, nkror, nkrol, infz, kronr, kronl, -@@ -198,7 +198,7 @@ - if (m == 1 && p == 1) - { - if (nu < n) -- gain = c * xpow (a, double (n-1-nu)).matrix_value() * b; -+ gain = c * octave::xpow (a, double (n-1-nu)).matrix_value () * b; - else - gain = d; - } - ---- control-3.4.0/src/lti_input_idx.cc.orig 2022-01-16 15:17:03.000000000 +0100 -+++ control-3.4.0/src/lti_input_idx.cc 2022-11-17 10:28:13.630086637 +0100 -@@ -93,8 +93,8 @@ - offset = 1; - } - -- Range mat_idx (1, idx-offset); -- Range opt_idx (idx+1-offset, len); -+ octave::range<double> mat_idx (1, idx-offset); -+ octave::range<double> opt_idx (idx+1-offset, len); - - retval(2) = offset; // abused as logical in the LTI constructors - retval(1) = opt_idx;