aboutsummaryrefslogtreecommitdiff
path: root/math/octave-forge-ad
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2012-04-11 03:01:50 +0000
committerMaho Nakata <maho@FreeBSD.org>2012-04-11 03:01:50 +0000
commitfd53d45a1106fbc77697749f25ee98f9a7d33d80 (patch)
treeef0b11df1d9b9531a2d4cd1110b01d6709f7fb62 /math/octave-forge-ad
parent176d84eb280ac1928a0a633cbe10bcc0cbcc85c8 (diff)
Notes
Diffstat (limited to 'math/octave-forge-ad')
-rw-r--r--math/octave-forge-ad/files/patch-src_ov-grad.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/math/octave-forge-ad/files/patch-src_ov-grad.cc b/math/octave-forge-ad/files/patch-src_ov-grad.cc
new file mode 100644
index 000000000000..3fc277451d6b
--- /dev/null
+++ b/math/octave-forge-ad/files/patch-src_ov-grad.cc
@@ -0,0 +1,15 @@
+--- src/ov-grad.cc-orig 2012-03-30 23:31:24.000000000 +0000
++++ src/ov-grad.cc 2012-03-30 23:31:56.000000000 +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)