diff scripts/ode/odeset.m @ 22632:0b21aece4b93 stable

odeset.m: Update FIXME notes about non-exact matching (bug #49364). * odeset.m: Add reference to bug #49364 in FIXME notes. Document that eventual fix will depend on support in inputParser class.
author Rik <rik@octave.org>
date Sun, 16 Oct 2016 12:48:47 -0700
parents 869c02fde46c
children b9f31d41ab66
line wrap: on
line diff
--- a/scripts/ode/odeset.m	Sun Oct 16 12:01:38 2016 -0700
+++ b/scripts/ode/odeset.m	Sun Oct 16 12:48:47 2016 -0700
@@ -56,6 +56,8 @@
   persistent p;
 
   if (isempty (p))
+    ## FIXME: Add an inexact match option once it is available in inputParser.
+    ## See bug #49364. 
     p = inputParser ();
     p.addParameter ("AbsTol", []);
     p.addParameter ("BDF", []);
@@ -193,13 +195,14 @@
 %!   warning (wstate);
 %! end_unwind_protect
 
+## FIXME: Add an inexact match option once it is available in inputParser.
+## See bug #49364. 
+## %!warning <no exact match for 'Rel'.  Assuming 'RelTol'> odeset ("Rel", 1);
+## %!error <Possible fields found: InitialSlope, InitialStep> odeset ("Initial", 1)
+
 ## Test input validation
 %!error <argument 'OPT1' is not a valid parameter> odeset ("opt1")
 %!error  odeset (1, 1)
 %!error <argument 'OPT1' is not a valid parameter> odeset (odeset (), "opt1")
 %!error  odeset (odeset (), 1, 1)
 
-## FIXME: Add inexact match option
-## %!warning <no exact match for 'Rel'.  Assuming 'RelTol'> odeset ("Rel", 1);
-## %!error <Possible fields found: InitialSlope, InitialStep> odeset ("Initial", 1)
-