Mercurial > forge
changeset 12280:bf7238a29d2f octave-forge
Fix call to print_with_name() for recent versions of Octave (bug #41089)
* src/ov-grad.cc (octave_gradient::print): the octave_value::print_with_name()
method does not accept the 3rd input argument (a boolean named print_padding
which defaulted to true) since Octave 3.6.
author | carandraug |
---|---|
date | Sat, 04 Jan 2014 02:27:11 +0000 |
parents | 128e60bc1c08 |
children | fda15ea44429 |
files | extra/ad/src/ov-grad.cc |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/extra/ad/src/ov-grad.cc Wed Jan 01 22:41:33 2014 +0000 +++ b/extra/ad/src/ov-grad.cc Sat Jan 04 02:27:11 2014 +0000 @@ -71,10 +71,10 @@ void octave_gradient::print (std::ostream& os, bool pr_as_read_syntax) const { - x ().print_with_name (os, "value", true); + x ().print_with_name (os, "value"); // print (partial) derivative(s), // following convention i-th row = nabla(x_i)T - jacobian ().print_with_name (os, "(partial) derivative(s)", true); + jacobian ().print_with_name (os, "(partial) derivative(s)"); } octave_value_list octave_gradient::dotref (const octave_value_list& idx)