From 3bd10526e0024458a17ce7588a954e4a470b2bbd Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Wed, 6 Mar 2013 20:15:41 -0500 Subject: [PATCH] Word-wrap a comment. Remove unused variable. --- optimization/test_functions/wood_gradient.m | 3 ++- tests/wood_gradient_tests.m | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) 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)); -- 2.43.2