octave-maintainers
[Top][All Lists]
Advanced

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

List of known_good_options


From: Rik
Subject: List of known_good_options
Date: Wed, 16 Dec 2015 12:40:33 -0800

Carlo,

The list of options for odeset/odeget was abstracted to the file
private/known_option_names.m.  This has introduced a failure in the
regression suite.

>>>>> processing /home/rik/wip/Projects_Mine/octave-dev/scripts/ode/odeset.m
***** test
 odeoptA = odeset ();
 assert (isstruct (odeoptA));
 assert (numel (fieldnames (odeoptA)), 23);
 assert (all (structfun ("isempty", odeoptA)));
!!!!! test failed
ASSERT errors for:  assert (numel (fieldnames (odeoptA)),23)

  Location  |  Observed  |  Expected  |  Reason
     ()           25           23        Abs err 2 exceeds tol 0

The issue is that "TimeStepSize" and "TimeStepNumber" have been added to
the list of known options.  However, I don't see these in the Matlab
documentation for odeset.  When odeset was moved into the core I got rid of
options which were not Matlab compatible, but downgraded any usage of an
unknown option from an error to a warning so they can always be used. 
Should these two stay as known options?

--Rik




reply via email to

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