Mercurial > mxe-octave
changeset 4944:46e04d53b955
of-ocs: add patch for dev octave depreciated functions (Bug #55325)
* src/of-ocs-2-dev-fixes.patch: new file
* dist-files.mk: add ref to patch
author | John D |
---|---|
date | Sat, 26 Jan 2019 12:28:37 -0500 |
parents | c2953d95fbc3 |
children | 76828d146a8d |
files | dist-files.mk src/of-ocs-2-dev-fixes.patch |
diffstat | 2 files changed, 21 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/dist-files.mk Sat Jan 26 12:33:02 2019 +0100 +++ b/dist-files.mk Sat Jan 26 12:28:37 2019 -0500 @@ -509,6 +509,7 @@ of-nurbs-2-dev-fixes.patch \ of-nurbs.mk \ of-ocs-1-cross-fixes.patch \ + of-ocs-2-dev-fixes.patch \ of-ocs.mk \ of-octcdf.mk \ of-odepkg-1-fixes.patch \
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/of-ocs-2-dev-fixes.patch Sat Jan 26 12:28:37 2019 -0500 @@ -0,0 +1,20 @@ +--- a/src/Mshichmanhodgesmosfet.cc 2015-08-17 19:02:20.000000000 +0200 ++++ a/src/Mshichmanhodgesmosfet.cc 2018-12-24 15:28:45.472849403 +0100 +@@ -319,7 +319,7 @@ + if (args(1).length() == args(2).length()) + { + parameters = args(1).column_vector_value(); +- parameternames = args(2).all_strings(); ++ parameternames = args(2).string_vector_value(); + } + else + error("Mshichmanhodgesmosfet: parameters and parameternames are expected to have the same length.\n"); +@@ -329,7 +329,7 @@ + else + error("Mshichmanhodgesmosfet: five external values expected.\n"); + // Internal variables +- if (args(4).is_empty()) ++ if (args(4).isempty()) + {} + else if (args(4).length() == 5) + intvar = args(4).column_vector_value();