[Top][All Lists]

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

[Octave-bug-tracker] [bug #49364] odeset does not implement non-exact ma

From: Rik
Subject: [Octave-bug-tracker] [bug #49364] odeset does not implement non-exact match to property name.
Date: Fri, 21 Oct 2016 15:26:21 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #9, bug #49364 (project octave):

Your patch has

+    if (! isempty (p.Unmatched))
+      ## Merge extra fields into existing odestruct
+      odestruct_extra = p.Unmatched;
+      xtra_fields = fieldnames (odestruct_extra);

but p.Unmatched is a scalar struct of size 1x1 (by definition, not empty) so
this branch of the code will always be taken.  That's why I changed it to
depend on fieldnames to make sure the struct was actually empty.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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