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

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

[Octave-bug-tracker] [bug #37420] plot(x,y) is broken for uint8


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #37420] plot(x,y) is broken for uint8
Date: Sat, 22 Sep 2012 00:48:52 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.25 (KHTML, like Gecko) Version/6.0 Safari/536.25

Update of bug #37420 (project octave):

              Item Group:                    None => Incorrect Result       
                  Status:               Confirmed => Ready For Test         
             Assigned to:                    None => bpabbott               

    _______________________________________________________

Follow-up Comment #2:

I found the problem/feature.

When combining a double() with a uint8(), the uint8() type has precedence. 
Thus, class ([uint8(1), double(1024)]) is converted to uint8, whose largest
number is 255.

Ive pushed a changeset

http://hg.savannah.gnu.org/hgweb/octave/rev/283cada76dd6

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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