From: Michael Orlitzky Date: Thu, 7 Mar 2013 01:15:41 +0000 (-0500) Subject: Word-wrap a comment. X-Git-Url: http://gitweb.michael.orlitzky.com/?p=octave.git;a=commitdiff_plain;h=3bd10526e0024458a17ce7588a954e4a470b2bbd Word-wrap a comment. Remove unused variable. --- diff --git a/optimization/test_functions/wood_gradient.m b/optimization/test_functions/wood_gradient.m index f4dde78..eb9f3e6 100644 --- a/optimization/test_functions/wood_gradient.m +++ b/optimization/test_functions/wood_gradient.m @@ -1,6 +1,7 @@ function g = wood_gradient(x1, x2, x3, x4) ## - ## The gradient of the Wood function. See wood.m for more information. + ## The gradient of the Wood function. See wood.m for more + ## information. ## f_x1 = 400*(x1^2 - x2)*x1 + 2*x1 - 2; f_x2 = -200*x1^2 + 220.2*x2 + 19.8*x4 - 40; diff --git a/tests/wood_gradient_tests.m b/tests/wood_gradient_tests.m index 700c667..0df84e0 100644 --- a/tests/wood_gradient_tests.m +++ b/tests/wood_gradient_tests.m @@ -1,6 +1,5 @@ ## The gradient should be zero at the optimal point. -g = wood_gradient(1,1,1,1); unit_test_equals("wood_gradient(1,1,1,1) == 0", ... 0, ... wood_gradient(1,1,1,1));