changeset 10676:f414049847d5

fminbnd.m: Remove unused persistent variable.
author Rik <octave@nomad.inbox5.com>
date Tue, 01 Jun 2010 09:26:49 -0700
parents e5b1353695ef
children 21defab4207c
files scripts/ChangeLog scripts/optimization/fminbnd.m
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Tue Jun 01 09:19:12 2010 -0700
+++ b/scripts/ChangeLog	Tue Jun 01 09:26:49 2010 -0700
@@ -1,8 +1,14 @@
 2010-06-01  Rik <octave@nomad.inbox5.com>
+
+	* optimization/fminbnd.m: Remove unused persistent variable.
+
+2010-06-01  Rik <octave@nomad.inbox5.com>
+
 	* plot/private/__contour__.m: Correctly size X and Y when only Z
         specified (bug #30002).
 
 2010-05-31  Rik <octave@nomad.inbox5.com>
+
 	* specfun/legendre.m: Orient row vector correctly (bug #29997).
         Add input validation for negative values and %tests to check
         validation routines.
--- a/scripts/optimization/fminbnd.m	Tue Jun 01 09:19:12 2010 -0700
+++ b/scripts/optimization/fminbnd.m	Tue Jun 01 09:26:49 2010 -0700
@@ -72,8 +72,6 @@
   maxiter = optimget (options, "MaxIter", Inf);
   maxfev = optimget (options, "MaxFunEvals", Inf);
 
-  persistent mu = 0.5;
-
   if (funvalchk)
     ## Replace fun with a guarded version.
     fun = @(x) guarded_eval (fun, x);