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

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

[Octave-bug-tracker] [bug #61412] repelem generated vector orientation


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #61412] repelem generated vector orientation
Date: Tue, 2 Nov 2021 08:25:38 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36

Update of bug #61412 (project octave):

                  Status:                    None => Confirmed              
        Operating System:               GNU/Linux => Any                    

    _______________________________________________________

Follow-up Comment #1:

confirmed.  

"u - Output vector. If v is a row vector or scalar, u is a row vector. If v is
a column vector, u is also a column vector."

odd that with all of the tests we added to that thing, we missed this simple
one. 

at first glance, since isrow() and iscolumn() both pass for a scalar, this is
simply caused by the first check at line 194 passing.  making the check an
'isrow' and flipping the order of the if / else should fix it.  will try it
out, add a test, and prepare a patch.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61412>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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