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

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

[Octave-bug-tracker] [bug #64318] inputParser fails on parse in mixed ad


From: A.R. Burgers
Subject: [Octave-bug-tracker] [bug #64318] inputParser fails on parse in mixed addOptional/addParameter setting
Date: Tue, 20 Jun 2023 17:16:31 -0400 (EDT)

Follow-up Comment #1, bug #64318 (project octave):

see attached cset for a proposed fix, including a test.

key part:


@@ -678,7 +678,7 @@
         this.Results = ...
           cell2struct (vertcat (struct2cell (this.Results), unmatched_def),
                        [Resultnames; unmatched_names]);
-        this.UsingDefaults = [this.UsingDefaults, unmatched_names];
+        this.UsingDefaults = [this.UsingDefaults, unmatched_names'];
       endif


(file #54850)

    _______________________________________________________

Additional Item Attachment:

File name: b64318.txt                     Size:1 KB
    <https://file.savannah.gnu.org/file/b64318.txt?file_id=54850>



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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