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

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

[Octave-bug-tracker] [bug #52053] clim values should be cast to double b


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #52053] clim values should be cast to double before applying
Date: Tue, 19 Sep 2017 08:11:57 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Update of bug #52053 (project octave):

                  Status:               Confirmed => Patch Submitted        

    _______________________________________________________

Follow-up Comment #8:

@Rik:
I used 
>> grep -rl "\"clim\", " ./scripts

to determine which function to inspect. This gave me a little longer list than
yours. Anyway, for __pie__, __bar__, __scatter__, __contour__, surfl, legend,
values passed for "clim" property are already guaranteed to  be numeric.

The only affected functions are imagesc, imshow, slice, caxis. For the latter,
an error is issued if the requested clim vector is not numeric and increasing.
See attached patch.



(file #41836)
    _______________________________________________________

Additional Item Attachment:

File name: validclim.patch                Size:3 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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