octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #59334] [octave forge] (interval) Failing BIST


From: Oliver Heimlich
Subject: [Octave-bug-tracker] [bug #59334] [octave forge] (interval) Failing BISTs with Octave 6.0.92
Date: Mon, 10 Jan 2022 18:44:24 -0500 (EST)
User-agent: Mozilla/5.0 (X11; CrOS armv7l 13597.84.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.78 Safari/537.36

Follow-up Comment #3, bug #59334 (project octave):

The patch from MXE Octave has been applied in the repository upstream.  I
believe that it will break the package in old versions of Octave on Windows. 
I know that `nargin` had to be called with the backslash in Octave 4.0,
otherwise it didn't work. 
 However, I don't have the possibility to test on Windows and to find out
since exactly when `nargin` supports the forward slash syntax.

Regarding `argn` the call to the function is no longer required in newer
versions of Octave and has been disabled. It will be fixed with the next
bugfix release as well.

The test log also shows a regression with `optimget`:

````
>>>>> processing C:\Program Files\GNU
Octave\Octave-6.0.92\mingw64\share\octave\packages\interval-3.2.0\@infsup\fzero.m
***** test "from the documentation string";
 f = @(x) cos (x);
 df = @(x) -sin (x);
 zeros = fzero (f, infsup ("[-10, 10]"), df);
 assert (all (subset (pi * (-2.5:1:2.5)', zeros)));
 assert (max (rad (zeros)) < 8 * eps);
 sqr = @(x) x .^ 2;
 zeros = fzero (sqr, infsup ("[Entire]"));
 assert (all (subset (0, zeros)));
 assert (max (rad (zeros)) < eps);
!!!!! test failed
Invalid call to optimget.  Correct usage is:

 -- optimget (OPTIONS, PARNAME)
 -- optimget (OPTIONS, PARNAME, DEFAULT)
````

Do you know if this has already been fixed elsewhere?

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59334>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]