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

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

[Octave-bug-tracker] [bug #37411] Diagonal matrix attribution error and


From: Jordi Gutiérrez Hermoso
Subject: [Octave-bug-tracker] [bug #37411] Diagonal matrix attribution error and diag function bugs
Date: Fri, 21 Sep 2012 13:16:19 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20110109 Lightningsheep/3.6.13

Update of bug #37411 (project octave):

                  Status:               Confirmed => In Progress            

    _______________________________________________________

Follow-up Comment #3:

Please forgive for the lack of brevity, but I have to get this off my
chest...

This bug is very minor. In order to manifest itself, the following
conditions have to be met:

    * You must create a diagonal matrix

    * You must index the first row or column of this diagonal matrix
      (indexing any other row or column won't trigger the bug)

    * You must take this row or column vector, internally represented
      as a diagonal matrix, and you must feed it back into the diag
      function.

All three conditions at once are rare. Moreover, there is a simple
workaround: use diag(full(e1)) instead of diag(e1), and this
workaround doesn't affect semantics in Matlab.

I have a fix for this bug. It is for the development version, since I
could not do it cleanly without breaking API, and we cannot break API
for the stable version. It will thus have to wait until we can make
another major release.

However, it took me a long time to fix this bug. About 6 hours. I
don't really care about this bug, but I felt driven to fix it because
apparently two people care enough about the bug report it and assure
me that it happens in several places and that it's annoying and
counterintuitive bug. I disagree. It's a very minor bug that was
annoying to fix. I am therefore proposing the following: I will not
release my fix unless the people who care about having this bug fixed
tip me at my Paypal address: address@hidden If you send me any
nonzero monetary reward for the time I've spent fixing this bug, I
will gladly apply my fix to the development version. If the amount is
of sufficient magnitude, I may reconsider reworking my fix so that it
doesn't break API and can go into the stable version, which will be
released much sooner than the next major version.

Alternatively, if paying me for fixing this bug is an insurmountable
financial burden for you, you may provide your own patch for this bug.
If the patch does not break anything important in Octave and it
follows our coding standards, I will gladly apply it.

I hope you agree this is a reasonable request.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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