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

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

[Octave-bug-tracker] [bug #52542] Weird behaviour of vertical concatenat


From: Rik
Subject: [Octave-bug-tracker] [bug #52542] Weird behaviour of vertical concatenation with empty char array
Date: Mon, 27 Nov 2017 20:07:18 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Update of bug #52542 (project octave):

                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #1:

It's even weirder than it first appears.  Introduce a space after 'char' and
it creates the correct output, although there is a warning.


octave:1> double([char(ones(1,0)); 'A'])
ans =

   65
   32

octave:2> double([char (ones(1,0)); 'A'])
warning: implicit conversion from numeric to char
ans =  65


Marking as confirmed.  Seems like there is something very odd, possibly in the
parser. 



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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