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

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

[Octave-bug-tracker] [bug #45837] inputParser: checks property default v


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #45837] inputParser: checks property default value but should not
Date: Mon, 31 Aug 2015 14:50:29 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.8.0

Update of bug #45837 (project octave):

                 Summary: inputParser.addParamValue: failed validation for
empty string => inputParser: checks property default value but should not

    _______________________________________________________

Follow-up Comment #4:

So apparently the issue is that Matlab does not checks if the default value
passed to inputParser is valid or not.  This is done by the validate_default
method

 
http://hg.savannah.gnu.org/hgweb/octave/file/784ed55fdde8/scripts/general/inputParser.m#l438

and fixing it would be as simple as removing it.  There is some performance to
be gained by not running this test everytime if we want to go that way.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45837>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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