Hi Soren and hi Thomas, I also recognized this problem some weeks ago as I tried to test something new. But right now, I don't have a lot of time to do some corrections or ask questions in this mailing list. So if it's a bug in Octave, I will wait for the next version and will test it again. I tried it with the windows version where the error also occures and also on a version compiled on ubuntu. Both with this error. But I don't know the exact version number of octave.
Michael ----Ursprüngliche Nachricht---- Von: [email protected] Datum: 10.12.2009 22:05 An: "Thomas Weber"<[email protected]> Kopie: "Octave Forge"<[email protected]> Betreff: Re: [OctDev] Problem testing nnet's subset() tor, 10 12 2009 kl. 21:10 +0100, skrev Søren Hauberg: > tor, 10 12 2009 kl. 20:43 +0100, skrev Thomas Weber: > > No, the problem is in line 57: > > error(nargchk(2,5,nargin)) > > > > This line causes the error. I don't understand why, though. nargin is 2 > > and calling error(nargchk(2,5,2)) works without problem. > > > > The problem seems to be the call of error() inside a test. The following > > function (saved as v.m) shows the same problem: > > > > ========================================================================== > > function v() > > error(nargchk(2,5,2)) > > endfunction > > > > %!test v > > ========================================================================== > > I cannot reproduce the problem in your example using the development > version of Octave. So, I guess this is a bug in Octave that has been > fixed since 3.2.3. I guess this is the bug in question: https://www-old.cae.wisc.edu/pipermail/bug-octave/2009-September/009550.html Søren ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ Octave-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/octave-dev ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ Octave-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/octave-dev
