Patch for signal package. I'm not sure if the first hunk should go there.

Could I get write access to the 'Forge packages? I promise to be good
and ask first if the patches are correct.

Thanks.

--- __ellip_ws.m        (revision 8405)
+++ __ellip_ws.m        (working copy)
@@ -25,6 +25,9 @@
 ##   1983.
 ## Author: Paulo Neis <p_n...@yahoo.com.br>

+## 2011-08-14: Updated call to fminbnd to correspond to new version in
+## Octave core -- Jordi Gutiérrez Hermoso
+
 function ws=__ellip_ws(n, rp, rs)
 ##
 ##
@@ -34,7 +37,7 @@
 ql0=int(1);
 q0=int(2);
 x=n*ql0/q0;
-kl=fminbnd('__ellip_ws_min',eps, 1-eps, [], x);
+kl=fminbnd(@(y) __ellip_ws_min(y,x) ,eps, 1-eps);
 ws=sqrt(1/kl);

 endfunction

------------------------------------------------------------------------------
FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
Subversion made easy with a complete admin console. Easy 
to use, easy to manage, easy to install, easy to extend. 
Get a Free download of the new open ALM Subversion platform now.
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to