This patch corrects a warning about a Matlab shortcut.  Is this the
correct place to send the patch?

diff -c nmsmax.m~  nmsmax.m
*** nmsmax.m~   Mon Feb 14 22:56:18 2011
--- nmsmax.m    Tue Feb 22 18:20:23 2011
***************
*** 46,52 ****
  n = length(x0);
  
  % Set up convergence parameters etc.
! if nargin < 3 | isempty(stopit), stopit(1) = 1e-3; end
  tol = stopit(1);  % Tolerance for cgce test based on relative size of
simplex.
  if length(stopit) == 1, stopit(2) = inf; end  % Max no. of
f-evaluations.
  if length(stopit) == 2, stopit(3) = inf; end  % Default target for
f-values.
--- 46,52 ----
  n = length(x0);
  
  % Set up convergence parameters etc.
! if nargin < 3 || isempty(stopit), stopit(1) = 1e-3; endif
  tol = stopit(1);  % Tolerance for cgce test based on relative size of
simplex.
  if length(stopit) == 1, stopit(2) = inf; end  % Max no. of
f-evaluations.
  if length(stopit) == 2, stopit(3) = inf; end  % Default target for
f-values.


tomdean


------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to