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

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

[Octave-bug-tracker] [bug #54110] bitset: output is zero when first argu


From: Rik
Subject: [Octave-bug-tracker] [bug #54110] bitset: output is zero when first argument is vector and third argument is scalar
Date: Thu, 14 Jun 2018 10:31:33 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #5, bug #54110 (project octave):

This small little thread caused the whole sweater to unravel.  I had to
completely overhaul the input validation which I did in this cset
(http://hg.savannah.gnu.org/hgweb/octave/rev/8109fe62ab8a).  bitset now
matches Matlab behavior for the inputs that it accepts.  It also made the
input validation simpler because I was able to rely on a single function call
to common_size() rather than trying to work out each combination of scalar and
array inputs and expand them individually.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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