Mercurial > forge
changeset 10211:57b61a543c35 octave-forge
inputParser: bug fix on addSwitch (it was being passed to subsref as ParamValue)
author | carandraug |
---|---|
date | Thu, 10 May 2012 11:13:09 +0000 |
parents | 88b1cd889dda |
children | 85b6fa4e5a94 |
files | main/general/inst/@inputParser/addSwitch.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/main/general/inst/@inputParser/addSwitch.m Thu May 10 07:44:00 2012 +0000 +++ b/main/general/inst/@inputParser/addSwitch.m Thu May 10 11:13:09 2012 +0000 @@ -38,7 +38,7 @@ ## check @inputParser/subsref for the actual code if (nargin == 2) inPar = subsref (inPar, substruct( - '.' , 'addParamValue', + '.' , 'addSwitch', '()', {name} )); else