[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #46259] image 2.4.1: fix to make montage() Dis
From: |
Carnë Draug |
Subject: |
[Octave-bug-tracker] [bug #46259] image 2.4.1: fix to make montage() DisplayRange" work |
Date: |
Wed, 21 Oct 2015 11:28:52 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.3.0 |
Follow-up Comment #1, bug #46259 (project octave):
I don't understand what you mean. Could you give an example of the issue? What
does this has to do with supporting old general inputParser? That should also
had support for the UsingDefaults property.
It does seems to be a bug here, but I think it's just the logic that is
reversed, i.e., instead of:
if (any (strcmpi (p.UsingDefaults, "DisplayRange")))
tmp_h = imshow (disp_img, p.Results.DisplayRange);
else
tmp_h = imshow (disp_img);
endif
it should be:
if (any (strcmpi (p.UsingDefaults, "DisplayRange")))
tmp_h = imshow (disp_img);
else
tmp_h = imshow (disp_img, p.Results.DisplayRange);
endif
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?46259>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/