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

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

[Octave-bug-tracker] [bug #43391] stem() gives an error if passed the re


From: Markus Bergholz
Subject: [Octave-bug-tracker] [bug #43391] stem() gives an error if passed the result of a logical expression
Date: Thu, 09 Oct 2014 18:31:49 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0

Follow-up Comment #1, bug #43391 (project octave):

At this point

n = -10:10;
x = n >= 2;


x is logical. When you did (1*x), the datatype has changed to double.

I've attached a quick patch which works in this case. Someone have to write an
assert test for it.


(file #32249)
    _______________________________________________________

Additional Item Attachment:

File name: 43391-1.patch                  Size:0 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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