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

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

[Octave-bug-tracker] [bug #40808] setxor function produces incorrect res


From: Rik
Subject: [Octave-bug-tracker] [bug #40808] setxor function produces incorrect result with 'row' argument
Date: Wed, 04 Dec 2013 22:59:30 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0

Update of bug #40808 (project octave):

                  Status:                    None => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

I committed your changeset and also added a test for the correct behavior in
the m-file (http://hg.savannah.gnu.org/hgweb/octave/rev/42df174ec2ff).

The number of rows, na and nb, is used at the bottom of the m-file if the
function returns 3 arguments.  'n' was used, I think, to try and make the
algorithm cleaner.  It may be marginally (like a few tens of microseconds)
faster than using the 'end' keyword since that would have to be checked each
time it appears and 'n' is a constant.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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