bugGNU Octave - Bugs: bug #52358, colormap case sensitive

 
 

bug #52358: colormap case sensitive

Submitted by:  None
Submitted on:  Tue 07 Nov 2017 12:10:53 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: FixedAssigned to: None
Originator Name: TitusOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 4.2.1
Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 10 Nov 2017 08:46:32 AM UTC, comment #4:

Is this fix looks suitable to apply to the stable branch?

Avinoam Kalma <avinoam>
Project Member
Thu 09 Nov 2017 01:10:06 PM UTC, comment #3:

Yes it took me 3 cset to get this one liner fix right :-). I hope it is actually fixed now.

Pantxo Diribarne <pantxo>
Project Member
Thu 09 Nov 2017 12:47:17 PM UTC, comment #2:

The fix introduces a regression:

I guess the tolower(varargin{1}) call should be applied only when varargin{1} is a char.

A.R. Burgers <arb>
Wed 08 Nov 2017 02:10:39 PM UTC, comment #1:

Thanks for your bug report. I fixed this here:

http://hg.savannah.gnu.org/hgweb/octave/rev/547919e6aec1

Closing report as fixed.

Pantxo Diribarne <pantxo>
Project Member
Tue 07 Nov 2017 12:10:53 PM UTC, original submission:

In matlab (2016b) both versions are working:
and
while with octave only the latter is loading the copper-colors.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by avinoam (Posted a comment)
  • -unavailable- added by arb (Posted a comment)
  • -unavailable- added by pantxo (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 08 Nov 2017 02:10:39 PM UTCpantxoStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1